fix bug when giving config file through command line

This commit is contained in:
2024-10-23 20:07:50 +02:00
parent c258e698ab
commit dfb05f40fd
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ export LC_ALL=C
export LANG=C
# Version of init
export VERSION="0.99.21"
export VERSION="0.99.22"
# Store script's path (realpath -s resolve symlinks if init.sh is a symlink)
export MYPATH=$(dirname "$(realpath -s "$0")")

View File

@@ -92,7 +92,7 @@ read_commandline()
shift 2
;;
"-f"|"--file")
export CONFFILES="$CONFFILES $opt"
export CONFFILES="$CONFFILES $2"
shift 2
;;
"-s"|"--shell")