aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pipe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pipe.c b/src/pipe.c
index 70b9483..a38415a 100644
--- a/src/pipe.c
+++ b/src/pipe.c
@@ -80,4 +80,11 @@ void make_change(char argv[MAX_ARGS][MAX_ARG_LEN], int argc) {
if (strcmp(cmd, "config") == 0) {
set_config(argv, argc);
}
+
+ // if silent just check again
+ for (int i = 0; i < argc; i++) {
+ if (strcmp(argv[i], "--silent") == 0 || strcmp(argv[i], "-s") == 0) {
+ await_change();
+ }
+ }
}