aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_system.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-07 22:01:22 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-07 22:01:22 +0000
commite61f71745fd8e4682e77917b4db4aeff62072e2c (patch)
treec9f258c1b931ee2e10d3e288b17ec6961440eaf1 /apps/app_system.c
parent25be1f3bc599f4752aab163844ebe75d9a471a42 (diff)
application doc update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
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;