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