diff options
Diffstat (limited to 'isbypass')
-rwxr-xr-x | isbypass | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ #!/bin/env sh -(/usr/local/bin/ishome && /usr/local/bin/hasyubi) && ( - notify-send "access bypass" & +if (/usr/local/bin/ishome && /usr/local/bin/hasyubi); then + notify-send "access bypass" "$1" & exit 0 -) || ( - notify-send "awaiting authentication" & +else + notify-send "awaiting authentication" "$1" & exit 1 -) +fi |