Ticket #1680: mc-4.7.0-rh-exit.patch
File mc-4.7.0-rh-exit.patch, 403 bytes (added by wRAR, 15 years ago) |
---|
-
mc/src/command.c
old new enter (WInput *cmdline) 224 224 size_t i, j, cmd_len; 225 225 226 226 if (!vfs_current_is_local ()) { 227 if (strcmp (cmd, "exit") == 0) { 228 quiet_quit_cmd (); 229 return MSG_HANDLED; 230 } 231 227 232 message (D_ERROR, MSG_ERROR, 228 233 _ 229 234 (" Cannot execute commands on non-local filesystems"));