]> git.tuebingen.mpg.de Git - dss.git/commit
Fix the exit hook.
authorAndre Noll <maan@systemlinux.org>
Wed, 21 May 2008 14:36:13 +0000 (16:36 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 21 May 2008 14:36:13 +0000 (16:36 +0200)
commit0fa93c1389ecd10bb11a14968c4120a49bbc90e6
treef53cc9df5b603c83dcae24ee453fd09dec54d584
parentc2510797579203c7fd6bef531f29726a56055298
Fix the exit hook.

As dss_exec_cmdline_pid() uses the space character as a separator
to split the command line, the words of the error message were
passed as separate parameters to the exit hook.

Use dss_exec() directly to avoid this flaw, i.e. to pass the full
error message as $1 to the exit hook.
dss.c