git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket. The MaybeSet() function call for the 'change-policy' parameter added in
[stg.git]
/
stglibs
/
scriptexecuter.lib
/
scriptexecuter.c
diff --git
a/stglibs/scriptexecuter.lib/scriptexecuter.c
b/stglibs/scriptexecuter.lib/scriptexecuter.c
index 728082ae350ba079e5404f4b6a3168eb0e805002..bdf60230f3530a72225fd62920ba6af8375f089d 100644
(file)
--- a/
stglibs/scriptexecuter.lib/scriptexecuter.c
+++ b/
stglibs/scriptexecuter.lib/scriptexecuter.c
@@
-46,7
+46,6
@@
void Executer(int msgID, pid_t pid, char * procName)
void Executer(int msgID, pid_t pid)
#endif
{
void Executer(int msgID, pid_t pid)
#endif
{
-int ret;
struct SCRIPT_DATA sd;
struct sigaction newsa, oldsa;
sigset_t sigmask;
struct SCRIPT_DATA sd;
struct sigaction newsa, oldsa;
sigset_t sigmask;
@@
-94,7
+93,7
@@
sigaction(SIGUSR1, &newsa, &oldsa);
while (nonstop)
{
sd.mtype = 1;
while (nonstop)
{
sd.mtype = 1;
- ret = msgrcv(msgid, &sd, MAX_SCRIPT_LEN, 0, 0);
+
int
ret = msgrcv(msgid, &sd, MAX_SCRIPT_LEN, 0, 0);
if (ret < 0)
{
if (ret < 0)
{