diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
commit | fd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch) | |
tree | 42d2a87726d196f4db1c68489007520a4c597062 /apps/app_system.c | |
parent | 9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff) |
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_system.c')
-rw-r--r-- | apps/app_system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_system.c b/apps/app_system.c index 64d529798..05819236c 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 */ @@ -147,14 +147,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); |