diff options
author | Bill Nottingham <notting@redhat.com> | 1999-03-14 05:46:25 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-03-14 05:46:25 +0000 |
commit | c6e4fe98949b5294bcb96ffd510f0857367a21be (patch) | |
tree | e9eb1b816fafc4d05d296e797c95996962275e32 /src/initlog.c | |
parent | 6241531ce63110c8e1cf2f208c89ad1e346bc1b8 (diff) | |
download | initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar.gz initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar.bz2 initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.tar.xz initscripts-c6e4fe98949b5294bcb96ffd510f0857367a21be.zip |
if [ 0 ] don't work in shell. *thwap*
Diffstat (limited to 'src/initlog.c')
-rw-r--r-- | src/initlog.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 ) |