From: Phillip Berndt Date: Sun, 20 Jul 2014 11:20:34 +0000 (+0200) Subject: Merge remote-tracking branch 'bingmann/master' X-Git-Tag: 1.0~131 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d86adf9a255047d6de4ed0cda11259f637d04162;hp=899c841c1174a0bf522e8b8b1795381584e6010f;p=deb_pkgs%2Fautorandr.git Merge remote-tracking branch 'bingmann/master' --- diff --git a/autorandr b/autorandr index 22e61ed..9cb87f7 100755 --- 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