diff --git a/packages/hotplug-initd-services/files/usr/bin/hotplug-initd-observer b/packages/hotplug-initd-services/files/usr/bin/hotplug-initd-observer index 4c2a77a3d..11802439c 100755 --- a/packages/hotplug-initd-services/files/usr/bin/hotplug-initd-observer +++ b/packages/hotplug-initd-services/files/usr/bin/hotplug-initd-observer @@ -11,7 +11,7 @@ local function notifyHooks(evData, evName) for hook in fs.dir(hooksDir) do os.execute( string.format( 'ACTION="%s" SERVICE="%s" %s/%s', - evName, evData.service, hooksDir, hook ) ) + evName, evData.service or '', hooksDir, hook ) ) end end