aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r--init.d/bootmisc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 526ebfff..1b35a0a6 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -68,7 +68,7 @@ cleanup_var_run_dir()
do
# Clean stale sockets
if [ -S "$x" ]; then
- if type fuser >/dev/null 2>&1; then
+ if command -v fuser >/dev/null 2>&1; then
fuser "$x" >/dev/null 2>&1 || rm -- "$x"
else
rm -- "$x"