From 767c0821ee0a1ad893efe9b5bc8e84f5629f8416 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Fri, 4 Nov 2022 21:43:06 +0100 Subject: scripts: removed bashisms --- .local/bin/screenshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/screenshot') diff --git a/.local/bin/screenshot b/.local/bin/screenshot index eca47ea..04b28cd 100755 --- a/.local/bin/screenshot +++ b/.local/bin/screenshot @@ -1,7 +1,7 @@ #!/bin/sh main () { - if [ ! -n "$1" ]; then + if [ $# -eq 0 ]; then print_screen ; exit 0 fi -- cgit v1.2.3-70-g09d2