Handle missing argument in strict mode
This commit is contained in:
parent
e0c33b01b7
commit
fd81499c83
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ recording_filename() {
|
|||
echo ~/Pictures/screenshots/recording-"$(ts)".mp4
|
||||
}
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
if [ -z "${1+exists}" ]; then
|
||||
option=$(listopts | fuzzel --dmenu)
|
||||
else
|
||||
option="$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue