aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/hotplug-call
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/sbin/hotplug-call')
-rwxr-xr-xpackage/base-files/files/sbin/hotplug-call4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call
index 28e957c398..f595b9e75f 100755
--- a/package/base-files/files/sbin/hotplug-call
+++ b/package/base-files/files/sbin/hotplug-call
@@ -11,8 +11,8 @@ USER=root
export PATH LOGNAME USER
export DEVICENAME="${DEVPATH##*/}"
-[ \! -z "$1" -a -d /etc/hotplug.d/$1 ] && {
+if [ \! -z "$1" -a -d /etc/hotplug.d/$1 ]; then
for script in $(ls /etc/hotplug.d/$1/* 2>&-); do (
[ -f $script ] && . $script
); done
-}
+fi