aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.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 5366b326..19a86c16 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -552,7 +552,7 @@ get_numeric_dev() {
if [ "$1" == "hex" ]; then
fmt="%x:%x"
fi
- ls -l "$2" | awk '{ sub(/,/, "", $5); printf("'"$fmt"'", $5, $6); }'
+ ls -lH "$2" | awk '{ sub(/,/, "", $5); printf("'"$fmt"'", $5, $6); }'
) 2>/dev/null
}