From c6e4fe98949b5294bcb96ffd510f0857367a21be Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Sun, 14 Mar 1999 05:46:25 +0000 Subject: if [ 0 ] don't work in shell. *thwap* --- src/initlog.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/initlog.c') diff --git a/src/initlog.c b/src/initlog.c index 6bc6fe10..46fc0ee7 100644 --- a/src/initlog.c +++ b/src/initlog.c @@ -147,7 +147,6 @@ int logEvent(char *cmd, int eventtype,char *string) { int x=0,len; struct logInfo logentry; - if (cmd) { logentry.cmd = strdup(basename(cmd)); if ((logentry.cmd[0] =='K' || logentry.cmd[0] == 'S') && ( 30 <= logentry.cmd[1] <= 39 ) -- cgit v1.2.1