Changeset 144 for trunk/tssh


Ignore:
Timestamp:
Dec 28, 2017, 5:27:44 PM (6 years ago)
Author:
g7moreau
Message:
  • Better trap on Ctrl+C
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tssh/tssh

    r143 r144  
    66
    77# Clean when Ctrl^C
    8 trap '[ -n "${base_path}" -a -d "/tmp/${base_path}" ] && rm -rf "/tmp/${base_path}"' QUIT
     8trap '[ -n "${base_path}" -a -d "/tmp/${base_path}" ] && rm -rf "/tmp/${base_path}"; exit 4;' QUIT INT TERM
    99
    1010export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
Note: See TracChangeset for help on using the changeset viewer.