summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-04-01 23:46:02 -0700
committerKeith Packard <keithp@keithp.com>2008-04-01 23:46:02 -0700
commit0d2082e9eb25cb7410309eed908b7f95abb8da79 (patch)
treeddd0f413b263e9700de3323520423bd961cf3161
parent18a189993b3df8bc54a79e0d62240ef203d6f34f (diff)
Exit when select output is not available
-rw-r--r--keystone.5c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keystone.5c b/keystone.5c
index 038e29b..228c020 100644
--- a/keystone.5c
+++ b/keystone.5c
@@ -448,6 +448,7 @@ void main ()
if (i == dim (outputs)) {
File::fprintf (stderr, "%s: no enabled output \"%s\"\n",
argv[0], argv[1]);
+ exit (1);
}
}
else