From 50af29a5bd8a4bbb7c9829d90cc860fe1eb03cf7 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Mon, 31 Jan 2022 03:25:52 -0800 Subject: [PATCH] make silent option more silent --- aniwrapper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aniwrapper b/aniwrapper index ed5ae3c..a067c36 100755 --- a/aniwrapper +++ b/aniwrapper @@ -65,7 +65,7 @@ seppuku() { } quit() { - lg 'Quitting...' + ((SILENT != 1)) && lg 'Quitting...' exit 0 } @@ -326,7 +326,7 @@ main() { } parse_args "$@" -lg "CONFIG DIR: $CFG_DIR" -lg "ROFI CFG: $CFG_FILE" +((SILENT != 1)) && lg "CONFIG DIR: $CFG_DIR" +((SILENT != 1)) && lg "ROFI CFG: $CFG_FILE" check_flags main