]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Merge remote-tracking branch 'bingmann/master'
authorPhillip Berndt <phillip.berndt@googlemail.com>
Sun, 20 Jul 2014 11:20:34 +0000 (13:20 +0200)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Sun, 20 Jul 2014 11:20:34 +0000 (13:20 +0200)
autorandr

index 22e61ed0aa2b887b471d455838826280a8e14a51..9cb87f7219521a70643bd99d8b510eaf77d89ab8 100755 (executable)
--- a/autorandr
+++ b/autorandr
@@ -406,7 +406,7 @@ done
 CURRENT_SETUP="$(setup_fp)"
 
 if [ -n "$SAVE_PROFILE" ]; then
-       if echo "$RESERVED_PROFILE_NAMES" | grep -q " $SAVE_PROFILE     "; then
+       if echo "$RESERVED_PROFILE_NAMES" | grep -q "^ $SAVE_PROFILE "; then
                echo "Cannot save current configuration as profile '${SAVE_PROFILE}': This configuration name is a reserved virtual configuration."
                exit 1
        fi