aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rw-r--r--rc.d/init.d/functions2
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); }'