Skip to content

Commit

Permalink
Merge pull request #1148 from ilario/evData_service
Browse files Browse the repository at this point in the history
hotplug-initd-observer: Avoid format error when evData.service is empty
  • Loading branch information
G10h4ck authored Dec 27, 2024
2 parents 29b5f66 + 2fefe77 commit e65b7f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e65b7f1

Please sign in to comment.