Skip to content

Commit e22697c

Browse files
author
ThePBone
committed
Fixed else-statement
1 parent 8649521 commit e22697c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jdsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ cd "$configpath"
2525
start () {
2626
stop
2727
if [ -f $devicefile ]; then
28-
declare $(head -n1 $devicefile) #get location and desc from file else
28+
declare $(head -n1 $devicefile) #get location and desc from file
29+
else
2930
#Do our best.
3031
location=$(pactl info | grep "Default Sink" | awk -F ": " '{print $2}')
3132
if [ "$location" == "$vipersink" ]; then echo "Something is very wrong (Target is same as our jdspsink name)."; return; fi

0 commit comments

Comments
 (0)