summaryrefslogtreecommitdiffstats
path: root/MDK/Common/System.pm
diff options
context:
space:
mode:
Diffstat (limited to 'MDK/Common/System.pm')
-rw-r--r--MDK/Common/System.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/System.pm b/MDK/Common/System.pm
index 0f77d98..a947523 100644
--- a/MDK/Common/System.pm
+++ b/MDK/Common/System.pm
@@ -376,7 +376,7 @@ sub setVarsInShMode {
if ($val =~ /["`\$]/) {
$val =~ s/(')/\\$1/g;
$val = qq('$val');
- } elsif ($val =~ /['\s\\]/) {
+ } elsif ($val =~ /['|\s\\]/) {
$val =~ s/(["\\])/\\$1/g;
$val = qq("$val");
}