Fixed a bug where the program would stop before the init command could

take effect
This commit is contained in:
Jon-William Lewis
2016-02-15 15:17:49 -06:00
parent 0692801069
commit e7dbc21954

View File

@@ -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