summaryrefslogtreecommitdiff
path: root/apps/app_system.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_system.c')
-rw-r--r--apps/app_system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_system.c b/apps/app_system.c
index e868a07dc..481ce6052 100644
--- a/apps/app_system.c
+++ b/apps/app_system.c
@@ -21,7 +21,7 @@
* \brief Execute arbitrary system commands
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
@@ -149,14 +149,14 @@ static int system_exec_helper(struct ast_channel *chan, const char *data, int fa
pbx_builtin_setvar_helper(chan, chanvar, "FAILURE");
res = failmode;
} else {
- if (res < 0)
+ if (res < 0)
res = 0;
if (res != 0)
pbx_builtin_setvar_helper(chan, chanvar, "APPERROR");
else
pbx_builtin_setvar_helper(chan, chanvar, "SUCCESS");
res = 0;
- }
+ }
ast_autoservice_stop(chan);