guard on typos

This commit is contained in:
Felix Van der Jeugt 2016-02-02 08:52:32 +01:00
parent ab839f5ada
commit 32f384d98d

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
session="$(abduco | tail -n +2 | cut -f3 | dmenu)" session="$(abduco | tail -n +2 | cut -f3 | dmenu)"
if [ ! -z "$session" ]; then if [ ! -z "$session" ]; then
if abduco | grep -q "$session"; then
urxvtc -e abduco -a "$session" urxvtc -e abduco -a "$session"
fi
fi fi