Browse Source

Added a message to differentiate between specified a config and not

pull/372/head
Ilija Matoski 10 years ago
parent
commit
217d87f31a
  1. 6
      functions/fn_select

6
functions/fn_select

@ -51,7 +51,11 @@ if [ $usesrvcfg -eq 1 ]; then
# it's invalid cfg setting
if [ $invalidcfg -eq 1 ]; then
fn_printwarn "$getsrvcfg configuration file doesn't exist, use one of the available ones ($appendextra)\n"
if [ -z "$getsrvcfg" ]; then
fn_printwarn "configuration file not specified, use one of the available ones ($appendextra)\n"
else
fn_printwarn "$getsrvcfg configuration file does not exist, use one of the available ones ($appendextra)\n"
fi
getopt=
fn_getopt
else

Loading…
Cancel
Save