summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 11:26:54 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 11:26:54 -0500
commit5636a97ca66e432cc59a0dcaf2b05398150b4e1f (patch)
tree2361b7d37de5ed06d5f8d0bc00d8b72bd1ebc054
parenta5a2d6019d8cdcc6f5c6173c5785292639e38caa (diff)
is_banned should be false if no ban list is downloaded
-rwxr-xr-xfullpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/fullpkg b/fullpkg
index 35916d3..0088045 100755
--- a/fullpkg
+++ b/fullpkg
@@ -114,7 +114,7 @@ check_queue() {
is_banned() {
rsync -e ssh -aq $PARABOLAHOST:mips64el/ban $ban_file >/dev/null 2>&1 || {
plain "Failed to get ban list"
- return 0
+ return 1
}
grep -w $1 $ban_file >/dev/null 2>&1
return $?