guard on typos
This commit is contained in:
parent
ab839f5ada
commit
32f384d98d
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
session="$(abduco | tail -n +2 | cut -f3 | dmenu)"
|
||||
if [ ! -z "$session" ]; then
|
||||
urxvtc -e abduco -a "$session"
|
||||
if abduco | grep -q "$session"; then
|
||||
urxvtc -e abduco -a "$session"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user