Use bye() instead of restore_color() for signals caught.
--HG-- extra : convert_revision : 86e2e0f57155740d6206a3476f7879764a51770b
This commit is contained in:
parent
cfcbec0b91
commit
087e6ae23d
1 changed files with 1 additions and 1 deletions
2
xbps.sh
2
xbps.sh
|
@ -30,7 +30,7 @@
|
|||
# Default path to configuration file, can be overriden
|
||||
# via the environment or command line.
|
||||
#
|
||||
trap restore_color INT QUIT
|
||||
trap "bye 1" INT QUIT
|
||||
|
||||
: ${XBPS_CONFIG_FILE:=/etc/xbps.conf}
|
||||
|
||||
|
|
Loading…
Reference in a new issue