diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-12-19 20:21:36 +0200 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-01-07 17:50:21 -0500 |
commit | 4bc057e8701b8619557640903fd228bef1e8736f (patch) | |
tree | 157f238754c6a4448288a59ebd40296b8798bfa4 /rc.d | |
parent | 655de403ad25a5332b25174009107884f9b30420 (diff) | |
download | initscripts-4bc057e8701b8619557640903fd228bef1e8736f.tar initscripts-4bc057e8701b8619557640903fd228bef1e8736f.tar.gz initscripts-4bc057e8701b8619557640903fd228bef1e8736f.tar.bz2 initscripts-4bc057e8701b8619557640903fd228bef1e8736f.tar.xz initscripts-4bc057e8701b8619557640903fd228bef1e8736f.zip |
Fix some bashisms.
Diffstat (limited to 'rc.d')
-rw-r--r-- | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index c8870d3a..09f11b8f 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -557,7 +557,7 @@ confirm() { get_numeric_dev() { ( fmt="%d:%d" - if [ "$1" == "hex" ]; then + if [ "$1" = "hex" ]; then fmt="%x:%x" fi ls -lH "$2" | awk '{ sub(/,/, "", $5); printf("'"$fmt"'", $5, $6); }' |