diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-16 11:15:28 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-16 11:15:28 +0200 |
commit | b600485e89694a49c657216d1ce9532cbe488901 (patch) | |
tree | 02d960fd005e9d9491d36ecf9f9ff9e56afb9ac8 | |
parent | 83f2633edc7c0bdf7c5b1deaad8ba44e1208d285 (diff) | |
download | desktop-autoloader-b600485e89694a49c657216d1ce9532cbe488901.tar.gz desktop-autoloader-b600485e89694a49c657216d1ce9532cbe488901.tar.bz2 desktop-autoloader-b600485e89694a49c657216d1ce9532cbe488901.zip |
bin/desktop-autoloader: Fix regexp that checks expectable value for DISPLAY env var.
-rwxr-xr-x | bin/desktop-autoloader | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/desktop-autoloader b/bin/desktop-autoloader index f39b9be..305bb98 100755 --- a/bin/desktop-autoloader +++ b/bin/desktop-autoloader @@ -59,7 +59,7 @@ fi ### ### input sanitizing... ### -if ! echo "${AUTOLOAD_DISPLAY}" | grep -qE "^.*:[0-9]+(|\.[0-9]+)"; then +if ! echo "${AUTOLOAD_DISPLAY}" | grep -qE '^.*:[0-9]+(|\.[0-9]+)$'; then echo "Inappropriate setting for \$AUTOLOAD_DISPLAY variable: ${AUTOLOAD_DISPLAY}" exit 1 fi |