summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--update-alternatives2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-alternatives b/update-alternatives
index ffad853..ce7d66c 100644
--- a/update-alternatives
+++ b/update-alternatives
@@ -80,7 +80,7 @@ remove_alt() {
[ ! -f $ad/$name ] && return 0
path=`echo $path | protect_slashes | protect_special_character`
- sed -ne "/^$path\>.*/!p" $ad/$name > $ad/$name.new
+ sed -ne "/^$path\s.*/!p" $ad/$name > $ad/$name.new
mv $ad/$name.new $ad/$name
}