Ticket #3550: mc-3550-unset-MC_USER.patch

File mc-3550-unset-MC_USER.patch, 834 bytes (added by and, 9 years ago)
  • contrib/mc-wrapper.csh.in

    From 58939fcaeeb4f3e046845900141618366aa0768a Mon Sep 17 00:00:00 2001
    From: Andreas Mohr <and@gmx.li>
    Date: Thu, 31 Dec 2015 16:15:02 +0000
    Subject: [PATCH] fix #3550 unset MC_USER
    
    reported by egmont
    
    Signed-off-by: Andreas Mohr <and@gmx.li>
    ---
     contrib/mc-wrapper.csh.in | 1 +
     contrib/mc-wrapper.sh.in  | 1 +
     2 files changed, 2 insertions(+)
    
    diff --git a/contrib/mc-wrapper.csh.in b/contrib/mc-wrapper.csh.in
    index fa715f7..fdf2e1f 100644
    a b endif 
    1818 
    1919rm -f "$MC_PWD_FILE" 
    2020unsetenv MC_PWD_FILE 
     21unsetenv MC_USER 
  • contrib/mc-wrapper.sh.in

    diff --git a/contrib/mc-wrapper.sh.in b/contrib/mc-wrapper.sh.in
    index 8badfb8..773bbd1 100644
    a b fi 
    1212 
    1313rm -f "$MC_PWD_FILE" 
    1414unset MC_PWD_FILE 
     15unset MC_USER