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