From e7dbc219546d88f16701d9c7313292514fb47d68 Mon Sep 17 00:00:00 2001 From: Jon-William Lewis Date: Mon, 15 Feb 2016 15:17:49 -0600 Subject: [PATCH] Fixed a bug where the program would stop before the init command could take effect --- src/main/stage1.sns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/stage1.sns.sh b/src/main/stage1.sns.sh index ede1d7d..1ddfc3c 100644 --- a/src/main/stage1.sns.sh +++ b/src/main/stage1.sns.sh @@ -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