diff options
-rwxr-xr-x | cron-sh/promisc_check.sh | 2 | ||||
-rwxr-xr-x | cron-sh/security.sh | 2 | ||||
-rw-r--r-- | src/msec_find/find.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh index d6867b9..5162a93 100755 --- a/cron-sh/promisc_check.sh +++ b/cron-sh/promisc_check.sh @@ -5,7 +5,7 @@ Syslog() { if [[ ${SYSLOG_WARN} == yes ]]; then - /sbin/initlog --string="${1}" + logger "${1}" fi } diff --git a/cron-sh/security.sh b/cron-sh/security.sh index bd7ec79..bcf2d3d 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -190,7 +190,7 @@ fi Syslog() { if [[ ${SYSLOG_WARN} == yes ]]; then while read line; do - /sbin/initlog --string="${line}" + logger "${line}" done < ${1} fi } diff --git a/src/msec_find/find.c b/src/msec_find/find.c index a9e96aa..a474ff4 100644 --- a/src/msec_find/find.c +++ b/src/msec_find/find.c @@ -198,7 +198,9 @@ int main(int argc, char **argv) init(); for ( i = 1; i < argc; i++ ) { + printf("%s\n",argv[i]); if ( strcmp(argv[i], "/") != 0) { + printf("plop\n"); /* * We need to add a final '/' to the base directory name else the * FTW_MOUNT option of nftw won't work. i.e. : /mnt/cdrom is on the / |