mirror of https://github.com/aria2/aria2
2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use exit() instead of _exit * src/RequestGroupMan.ccpull/1/head
parent
568226617c
commit
554749b3dc
|
@ -1,3 +1,8 @@
|
|||
2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use exit() instead of _exit
|
||||
* src/RequestGroupMan.cc
|
||||
|
||||
2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Replaced "CATEGORY" with "TAGS".
|
||||
|
|
|
@ -206,7 +206,7 @@ static void executeHook(const std::string& command, int gid)
|
|||
} else if(cpid == 0) {
|
||||
execl(command.c_str(), command.c_str(), Util::itos(gid).c_str(), (char*)0);
|
||||
perror(("Could not execute user command: "+command).c_str());
|
||||
_exit(1);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
#else
|
||||
PROCESS_INFORMATION pi;
|
||||
|
|
Loading…
Reference in New Issue