From cdbbf0de22481fbfcaa4ebdf402499ab355ccf00 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 15 Oct 2016 17:13:22 +0100 Subject: [PATCH] reset option --- src/freedombone | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone b/src/freedombone index b6207ad8..1b34f5f7 100755 --- a/src/freedombone +++ b/src/freedombone @@ -74,8 +74,8 @@ if [ ! $COMPLETION_FILE ]; then COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt fi -if [[ $command_options == *"menuconfig"* ]]; then - if [[ $command_options == *"--reset"* ]]; then +if [[ $command_options == "menuconfig" ]]; then + if [[ "$2" == "--reset" ]]; then if [ -f $CONFIGURATION_FILE ]; then rm $CONFIGURATION_FILE fi