diff options
author | Bill Nottingham <notting@redhat.com> | 2000-08-07 05:46:42 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-08-07 05:46:42 +0000 |
commit | 305706cc1f323b80c82a4d66749835f1a6816544 (patch) | |
tree | f7723af88cd5d5905eeb89db6a38ad7a991711a6 | |
parent | ce580633961bea5559024b0b44756ed895f22fdd (diff) | |
download | initscripts-305706cc1f323b80c82a4d66749835f1a6816544.tar initscripts-305706cc1f323b80c82a4d66749835f1a6816544.tar.gz initscripts-305706cc1f323b80c82a4d66749835f1a6816544.tar.bz2 initscripts-305706cc1f323b80c82a4d66749835f1a6816544.tar.xz initscripts-305706cc1f323b80c82a4d66749835f1a6816544.zip |
fix minor logic error (#11399)
-rwxr-xr-x | rc.d/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ if [ "$previous" = "N" ]; then fi # Get first argument. Set new runlevel to this argument. -[ "$1" != "" ] && runlevel="$argv1" +[ -n "$argv1" ] && runlevel="$argv1" # Tell linuxconf what runlevel we are in [ -d /var/run ] && echo "/etc/rc$runlevel.d" > /var/run/runlevel.dir |