aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionhelper.c')
-rw-r--r--src/actionhelper.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/actionhelper.c b/src/actionhelper.c
index 9710ef8..e0876eb 100644
--- a/src/actionhelper.c
+++ b/src/actionhelper.c
@@ -198,11 +198,14 @@ void print_LIST_result(int err) {
}
void print_SEARCH_result(int err) {
+ if (err == 2) {
+ printf("No grep avaliable. Please make sure you have grep installed.\n");
+ return;
+ }
if (!err) {
- printf("succes\n");
return;
}
- printf("Not Supported\n");
+ printf("Wrong search.\n");
}
void print_HELP_result(int err) {