Commit Diff


commit - b74a38eb041629ca0ca404631bffb3de98520e5f
commit + 123fddbd9d17d109eec5277b1300a65c36626c7c
blob - 330c0ece7b66f80f23de991d38908ae89d2bfe8f
blob + 4ca90da6a14177e360281c176d17c7ebd748b6b0
--- shreddisk.c	
+++ shreddisk.c	
@@ -62,17 +62,14 @@ sh_sig(int sig)
 			quit[strlen(quit) - 1] = '\0';
 			for (si = 0; si < strlen(quit); si++)
 			quit[si] = tolower(quit[si]);
-			if (strcmp(quit, "n") == 0 || strcmp(quit, "no") == 0) {
-				printf("\n");
+			if (strcmp(quit, "n") == 0 || strcmp(quit, "no") == 0)
 				return;
-			} else if (strcmp(quit, "y") == 0 ||
-			    strcmp(quit, "yes") == 0) {
-				printf("\n");
+			else if (strcmp(quit, "y") == 0 ||
+			    strcmp(quit, "yes") == 0)
 				break;
-			}
 		} while (1);
 	printf("\e[?25h");
-	printf("\n\n");
+	printf("\n");
 	exit(1);
 }