diff options
Diffstat (limited to '.local/bin/screenshot')
-rwxr-xr-x | .local/bin/screenshot | 2 |
1 files changed, 1 insertions, 1 deletions
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 |