]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
add default value assign config file
authorBastian Dehn <hhaalo@arcor.de>
Fri, 25 Sep 2026 08:18:26 +0000 (10:18 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 25 Sep 2026 08:18:26 +0000 (10:18 +0200)
src/albentohandy

index 9bfbfb89762cfedab1487b2c55a427b29082a999..fcc8ca76b975badc89509b0d30abb0da7e4265c7 100755 (executable)
@@ -18,7 +18,7 @@ check_programs()
 
 load_config()
 {
-       CONFIG_FILE=${CONFIG_FILE:="$HOME/.albentohandy.conf"}
+       CONFIG_FILE=${CONFIG_FILE:-"$HOME/.albentohandy.conf"}
 
        [ -f "$CONFIG_FILE" ] \
                || errlog "missing $CONFIG_FILE" \