aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_env.c b/funcs/func_env.c
index 90f582e70..4eba211bb 100644
--- a/funcs/func_env.c
+++ b/funcs/func_env.c
@@ -73,7 +73,7 @@ static int stat_read(struct ast_channel *chan, const char *cmd, char *data,
action = strsep(&data, ",");
if (stat(data, &s)) {
- return -1;
+ return 0;
} else {
switch (*action) {
case 'e':