summaryrefslogtreecommitdiff
path: root/apps/app_system.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-07 22:01:22 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-07 22:01:22 +0000
commitf09c6bc78eb25da6e6b2bb9a1e3abd76354348c4 (patch)
treec9f258c1b931ee2e10d3e288b17ec6961440eaf1 /apps/app_system.c
parent4eb2c0d832a97105fcf0f89f5e5863aad829832f (diff)
application doc update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_system.c')
-rwxr-xr-xapps/app_system.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/app_system.c b/apps/app_system.c
index c21c0ed9b..5d5216960 100755
--- a/apps/app_system.c
+++ b/apps/app_system.c
@@ -55,8 +55,8 @@ static char *synopsis2 = "Try executing a system command";
static char *chanvar = "SYSTEMSTATUS";
static char *descrip =
-" System(command): Executes a command by using system(). Returns -1 on\n"
-"failure to execute the specified command. \n"
+" System(command): Executes a command by using system(). If the command\n"
+"fails, the console should report a fallthrough. \n"
"Result of execution is returned in the SYSTEMSTATUS channel variable:\n"
" FAILURE Could not execute the specified command\n"
" SUCCESS Specified command successfully executed\n"
@@ -66,11 +66,10 @@ static char *descrip =
"a priority n + 101, where 'n' is the priority of the current instance,\n"
"then the channel will be setup to continue at that priority level.\n"
"Note that this jump functionality has been deprecated and will only occur\n"
-"if the global priority jumping option is enabled in extensions.conf.\n"
-" Otherwise, System returns 0.\n";
+"if the global priority jumping option is enabled in extensions.conf.\n";
static char *descrip2 =
-" TrySystem(command): Executes a command by using system(). Returns 0\n"
+" TrySystem(command): Executes a command by using system().\n"
"on any situation.\n"
"Result of execution is returned in the SYSTEMSTATUS channel variable:\n"
" FAILURE Could not execute the specified command\n"
@@ -80,7 +79,7 @@ static char *descrip2 =
"Old behaviour:\nIf the command itself executes but is in error, and if\n"
"there exists a priority n + 101, where 'n' is the priority of the current\n"
"instance, then the channel will be setup to continue at that\n"
-"priority level. Otherwise, System returns 0.\n";
+"priority level. Otherwise, System will terminate.\n";
STANDARD_LOCAL_USER;