blob: 3ed863fd448240077e7b76489223eb25c8c83bf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-aa,v 1.5 2002/04/10 17:52:09 schmonz Exp $
--- keychain.orig Mon Mar 4 13:51:58 2002
+++ keychain
@@ -6,7 +6,7 @@
version=1.9
-trap "" INT || { echo "$0: warning: trapping signal 2 instead of INT" 1>&2; trap "" 2; }
+trap "" 2
PATH="/sbin:/usr/sbin:${PATH}:/usr/ucb"; export PATH;
KEYCHAIN_KEYS=""
@@ -65,6 +65,9 @@
CYAN="\033[36;01m"
fi
+# Don't use colors in NetBSD
+unset BLUE GREEN OFF CYAN
+
quiet_mode="no"
if [ -n "`echo ${@} | grep '\-\-quiet'`" ] || [ -n "`echo $* | grep '\-q'`" ] ;
then
@@ -259,7 +262,7 @@
fi
#now that keys are potentially cleared, it's safe to be aborted by ^C
-trap - INT || trap - 2
+trap - 2
if [ -n "`echo $* | grep '\-\-noask'`" ]
then
|