trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject svn commit: r1236979 - /trafficserver/traffic/trunk/mgmt/cli/CliCreateCommands.cc
Date Sat, 28 Jan 2012 04:50:39 GMT
Author: jpeach
Date: Sat Jan 28 04:50:39 2012
New Revision: 1236979

URL: http://svn.apache.org/viewvc?rev=1236979&view=rev
Log:
TS-1097: Ignore system(3) return code

Modified:
    trafficserver/traffic/trunk/mgmt/cli/CliCreateCommands.cc

Modified: trafficserver/traffic/trunk/mgmt/cli/CliCreateCommands.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/mgmt/cli/CliCreateCommands.cc?rev=1236979&r1=1236978&r2=1236979&view=diff
==============================================================================
--- trafficserver/traffic/trunk/mgmt/cli/CliCreateCommands.cc (original)
+++ trafficserver/traffic/trunk/mgmt/cli/CliCreateCommands.cc Sat Jan 28 04:50:39 2012
@@ -309,7 +309,7 @@ Cmd_Help(ClientData clientData, Tcl_Inte
       << Layout::get()->datadir << "/trafficshell/" << topic <<
".1";
 
     Cli_Debug("%s\n", cmd.str().c_str());
-    system(cmd.str().c_str());
+    (void)system(cmd.str().c_str());
   }
 
   return CMD_OK;



Mime
View raw message