Fixed bug cause by outdated conditional.

This commit is contained in:
Matias Barcenas 2018-03-14 14:20:08 -05:00
parent d9088b76ce
commit da92d965c7
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ fi
# ============= < Argument Loaded Configurables > ============ # # ============= < Argument Loaded Configurables > ============ #
eval set -- "$FLUXIONCLIArguments" # Set environment parameters. eval set -- "$FLUXIONCLIArguments" # Set environment parameters.
[ "$1" != "" ] && readonly FLUXIONAuto=1 # Auto-mode if using CLI. [ "$1" != "--" ] && readonly FLUXIONAuto=1 # Auto-mode if using CLI.
while [ "$1" != "" -a "$1" != "--" ]; do while [ "$1" != "" -a "$1" != "--" ]; do
case "$1" in case "$1" in
-v|--version) echo "FLUXION V$FLUXIONVersion.$FLUXIONRevision"; exit;; -v|--version) echo "FLUXION V$FLUXIONVersion.$FLUXIONRevision"; exit;;