summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-01-09 17:20:41 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-01-09 17:20:41 +0100
commit4fb7457e611e583c649f2738b5ab8260f4bf4dfe (patch)
tree0c25dee22371bf17ef5f24432c632d3ffff28eab
parent18f85cc73adf723b8bf1aad9a2c3e9a5898648fb (diff)
fb-helper: exit on unknown option errorv1.1.2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--fb-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fb-helper.c b/fb-helper.c
index 11d115e..760081a 100644
--- a/fb-helper.c
+++ b/fb-helper.c
@@ -254,6 +254,7 @@ int main(int argc, char *argv[])
default:
fprintf(stderr, "Error: unknown option %c", opt);
+ exit(1);
}
}