artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9de0c
)
Add ':q' as an alias to ':quit', to match old behaviour. Initial patch
author
canacar
<canacar@openbsd.org>
Sat, 12 Jul 2008 06:20:47 +0000
(06:20 +0000)
committer
canacar
<canacar@openbsd.org>
Sat, 12 Jul 2008 06:20:47 +0000
(06:20 +0000)
from dlg@, this is a simpler version.
usr.bin/systat/main.c
patch
|
blob
|
history
diff --git
a/usr.bin/systat/main.c
b/usr.bin/systat/main.c
index
537411e
..
7be6527
100644
(file)
--- a/
usr.bin/systat/main.c
+++ b/
usr.bin/systat/main.c
@@
-1,4
+1,4
@@
-/* $Id: main.c,v 1.4
0 2008/06/13 10:06:14 deraadt
Exp $ */
+/* $Id: main.c,v 1.4
1 2008/07/12 06:20:47 canacar
Exp $ */
/*
* Copyright (c) 2001, 2007 Can Erkin Acar
* Copyright (c) 2001 Daniel Hartmeier
@@
-289,7
+289,7
@@
cmd_compat(void)
need_update = 1;
return;
}
- if (strcasecmp(cmdbuf, "quit") == 0) {
+ if (strcasecmp(cmdbuf, "quit") == 0
|| strcasecmp(cmdbuf, "q") == 0
) {
gotsig_close = 1;
return;
}