Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion contrib/mc-wrapper.csh.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if (-r "$MC_PWD_FILE") then
unsetenv MC_PWD
endif

rm -f "$MC_PWD_FILE"
# invoke the external rm command, avoiding shell alias
'rm' -f "$MC_PWD_FILE"
unsetenv MC_PWD_FILE
eval "unset MC_STATUS; exit $MC_STATUS"
3 changes: 2 additions & 1 deletion contrib/mc-wrapper.fish.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ if test -r "$MC_PWD_FILE"
end
end

rm -f $MC_PWD_FILE
# invoke the external rm command, avoiding shell alias or function
command rm -f $MC_PWD_FILE
exit $MC_STATUS
3 changes: 2 additions & 1 deletion contrib/mc-wrapper.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if test -r "$MC_PWD_FILE"; then
unset MC_PWD
fi

rm -f "$MC_PWD_FILE"
# invoke the external rm command, avoiding shell alias or function
command rm -f "$MC_PWD_FILE"
unset MC_PWD_FILE
eval "unset MC_STATUS; return $MC_STATUS"
Loading