diff options
Diffstat (limited to 'scripts/Scripts/setwall')
-rwxr-xr-x | scripts/Scripts/setwall | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Scripts/setwall b/scripts/Scripts/setwall index 25bcfb0..d34ed8d 100755 --- a/scripts/Scripts/setwall +++ b/scripts/Scripts/setwall @@ -7,7 +7,8 @@ BINNAME="setwall" function unsetwalls() { for wall in $@; do echo unsetting $wall - sed -i.bak ":$wall:d" $WALLFILE + pat=$(echo $wall | sed 's/\//\\\//g') + sed -i.bak "/$pat/d" $WALLFILE done } function unsetcur() { |