Updated execute
This commit is contained in:
parent
71b996f68e
commit
34c153c3fa
@ -138,12 +138,10 @@ int execute(char *cmd, char *file, char *pkt, char *in, char *out, char *err)
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
Syslog('-', "sync()");
|
|
||||||
sync();
|
sync();
|
||||||
#endif
|
#endif
|
||||||
rc = _execute(cmd, file, pkt, in, out, err);
|
rc = _execute(cmd, file, pkt, in, out, err);
|
||||||
#ifdef __linux
|
#ifdef __linux
|
||||||
Syslog('-', "sync()");
|
|
||||||
sync();
|
sync();
|
||||||
#endif
|
#endif
|
||||||
return rc;
|
return rc;
|
||||||
|
Reference in New Issue
Block a user