summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdw <>2010-11-27 11:24:43 +0000
committerpdw <>2010-11-27 11:24:43 +0000
commitb7290cfbc0cc2a100ecdab85e262ae0e9bfd62cd (patch)
tree87d49d3bbcdb17bbb5edd854e0cd7fb0fb8c07ea
parente533714b782dfb3112a01229399d34a324eaf21f (diff)
downloadiftop-b7290cfbc0cc2a100ecdab85e262ae0e9bfd62cd.zip
Made subshells unavailable by default.
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 9f97621..9de8525 100644
--- a/ui.c
+++ b/ui.c
@@ -1074,7 +1074,7 @@ void ui_loop() {
break;
}
case '!': {
-#ifndef NO_SYSTEM
+#ifdef ALLOW_SUBSHELL
char *s;
dontshowdisplay = 1;
if ((s = edline(0, "Command", "")) && s[strspn(s, " \t")]) {