--- /dev/null
+diff -ur mc-4.8.12.orig/src/setup.c mc-4.8.12/src/setup.c
+--- mc-4.8.12.orig/src/setup.c 2014-07-07 19:52:15.000000000 +0000
++++ mc-4.8.12/src/setup.c 2014-07-07 23:15:03.862724555 +0000
+@@ -100,7 +100,7 @@
+ /* Asks for confirmation before executing a program by pressing enter */
+ int confirm_execute = 0;
+ /* Asks for confirmation before leaving the program */
+-int confirm_exit = 0;
++int confirm_exit = 1;
+
+ /* If true, at startup the user-menu is invoked */
+ int auto_menu = 0;