Added python/fko.py to Makefile.am so it is also included in distributions. Minor tweak to address compile error on Mac os X.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@311 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
parent
4b0c280948
commit
6c050b481c
@ -73,6 +73,7 @@ EXTRA_DIST = \
|
||||
python/README \
|
||||
python/setup.py \
|
||||
python/fkomodule.c \
|
||||
python/fko.py \
|
||||
win32/config.h \
|
||||
win32/fwknop-client.vcproj \
|
||||
win32/getopt.c \
|
||||
|
||||
@ -96,6 +96,7 @@ _run_extcmd(uid_t user_uid, char *cmd, char *so_buf, size_t so_buf_sz, int timeo
|
||||
int retval = 0;
|
||||
char so_read_buf[IO_READ_BUF_LEN];
|
||||
pid_t pid;
|
||||
int res;
|
||||
|
||||
if(so_buf == NULL)
|
||||
{
|
||||
@ -122,7 +123,8 @@ _run_extcmd(uid_t user_uid, char *cmd, char *so_buf, size_t so_buf_sz, int timeo
|
||||
exit(EXTCMD_SETUID_ERROR);
|
||||
}
|
||||
}
|
||||
exit(WEXITSTATUS(system(cmd)));
|
||||
res = system(cmd);
|
||||
exit(WEXITSTATUS(res));
|
||||
}
|
||||
|
||||
/* Retval is forced to 0 as we don't care about the exit status of
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user