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 f60adb6d5..01ec4958d 100644
--- a/funcs/func_env.c
+++ b/funcs/func_env.c
@@ -77,7 +77,7 @@ static int stat_read(struct ast_channel *chan, char *cmd, char *data,
action = strsep(&data, "|");
if (stat(data, &s)) {
- return -1;
+ return 0;
} else {
switch (*action) {
case 'e':