]> git.plutz.net Git - serve0/commitdiff
typo else/elif
authorpaul <paul@plutz.net>
Mon, 28 Nov 2016 20:33:06 +0000 (20:33 +0000)
committerpaul <paul@plutz.net>
Mon, 28 Nov 2016 20:33:06 +0000 (20:33 +0000)
svn path=/trunk/; revision=159

actions/watch.sh

index 58c1e1b42858f04ec797b013e89bed731465d9a6..5d503b07d70a08737dbc364ddea5d553b4bd0068 100755 (executable)
@@ -30,7 +30,7 @@ if [ "${_COOKIE[fakemp4]}" = yes ] && [ "${info##*.}" != mp4 ]; then
   videourl="$(urlsafe "mp4/${info%.*}.mp4")"
 elif [ -z "$info" ]; then
   videourl="$(urlsafe "${location#/}")"
-else [ -z "$foreign" ];then
+elif [ -z "$foreign" ]; then
   _COOKIE[watch]=server
   videourl="${_GET[url]}"
 else