GNOME Bugzilla – Bug 674222
g-s-d's hotplug-command called with arguments containing space
Last modified: 2012-04-19 15:54:07 UTC
g-s-d's run_custom_command() function is supposed to call the hotplug-command with arguments like this: -t added -i 5 "USB keyboard" However, currently the -t and -i options are sent attached with their values, like this: "-t added" "-i 5" "USB keyboard" It makes it inconsistent with the normal unix calling, and harder to parse. I'll attach a patch that fixes this tomorrow.
Created attachment 212170 [details] [review] common: Fix args generation for the custom cmd
Review of attachment 212170 [details] [review]: It looks like the right fix to me :-)
Attachment 212170 [details] pushed as 0068157 - common: Fix args generation for the custom cmd