Enquote $background_command as surely intended.

master
Amitai Schleier 2017-01-02 06:57:35 -05:00
parent f2b65d0370
commit 8bf2273937
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ EOF
if (defined $config{wrapper_background_command} &&
length $config{wrapper_background_command}) {
my $background_command=delete $config{wrapper_background_command};
$set_background_command=~s/"/\\"/g;
$background_command=~s/"/\\"/g;
$set_background_command='#define BACKGROUND_COMMAND "'.$background_command.'"';
}