X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=page_channel.sh;h=bc05b15919fef30dd305de83b8ef7d853f685f79;hb=e82750023ec5907d4a373f7fe377c79cde41fd04;hp=ff7fa21e976bde465713e633a951d654c19f9d7f;hpb=ba23425f0e01d62612b425c2e7b96517df1c9fde;p=rawnet diff --git a/page_channel.sh b/page_channel.sh index ff7fa21..bc05b15 100755 --- a/page_channel.sh +++ b/page_channel.sh @@ -137,7 +137,7 @@ AUTHOR(){ elif ! AUTHOR; then REDIRECT "${_BASE}/channel/${channel}/#ERROR_UPDATE_NOTALLOWED" elif LOCK "$vid_db"; then - if grep -q '^${video} ' "$vid_db"; then + if grep -q "^${video} " "$vid_db"; then RELEASE "$vid_db" REDIRECT "${_BASE}/channel/${channel}/#ERROR_NEWVIDEO_EXISTS" else