Fixed a bug where the program would stop before the init command could
take effect
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
if [ -r "$CONFIG_FILE" ]; then
|
||||
source "$CONFIG_FILE"
|
||||
verify_store
|
||||
else
|
||||
elif [ $1 != "-i" ]; then
|
||||
>&2 printf " $RED_COLOR!$RESET_COLOR %s\n\t%s\n"\
|
||||
"Configuration note found. Please run sns -i."
|
||||
"Configuration not found. Please run sns -i."
|
||||
exit 5 #ERR_NO_STORE
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user