From 087e6ae23dc075601a2c5bf96f54514456e35242 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Oct 2008 05:09:38 +0100 Subject: [PATCH] Use bye() instead of restore_color() for signals caught. --HG-- extra : convert_revision : 86e2e0f57155740d6206a3476f7879764a51770b --- xbps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps.sh b/xbps.sh index b178e22f2a6..041f7810aa4 100755 --- a/xbps.sh +++ b/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}