aboutsummaryrefslogtreecommitdiff
path: root/rc.single
diff options
context:
space:
mode:
Diffstat (limited to 'rc.single')
-rwxr-xr-xrc.single2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.single b/rc.single
index 9c940a5..38454f6 100755
--- a/rc.single
+++ b/rc.single
@@ -19,7 +19,7 @@ if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
done
# find any leftover daemons and shut them down
if [ -d /var/run/daemons ]; then
- for daemon in $(ls /var/run/daemons); do
+ for daemon in $(/bin/ls /var/run/daemons); do
/etc/rc.d/$daemon stop
done
fi