fix bug when giving config file through command line

This commit is contained in:
fatalerrors committed 2024-10-23 20:07:50 +02:00
1 parent c258e698ab
commit dfb05f40fd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ export LC_ALL=C
export LANG=C export LANG=C
# Version of init # 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) # Store script's path (realpath -s resolve symlinks if init.sh is a symlink)
export MYPATH=$(dirname "$(realpath -s "$0")") export MYPATH=$(dirname "$(realpath -s "$0")")
+1 -1
View File
@@ -92,7 +92,7 @@ read_commandline()
shift 2 shift 2
;; ;;
"-f"|"--file") "-f"|"--file")
export CONFFILES="$CONFFILES $opt" export CONFFILES="$CONFFILES $2"
shift 2 shift 2
;; ;;
"-s"|"--shell") "-s"|"--shell")