diff --git a/setup.sh b/setup.sh
index 63c2f217063f23a507f900009e19ae044ac700c9..873d3b568d52db20861457125f487af9976f39df 100755
--- a/setup.sh
+++ b/setup.sh
@@ -8,7 +8,7 @@ patch -p0 -s -N  -r tmp.rej                   < patches/relationship_get_set_pub
 patch -p0 -s -N -d elgg -r tmp.rej            < patches/lowercase_post.diff              > /dev/null
 patch -p0 -s -N -d elgg/engine/lib -r tmp.rej < patches/database_strip_html.diff         > /dev/null
 patch -p0 -s -N -d elgg/mod/groups -r tmp.rej < patches/add_closing_labels.diff          > /dev/null
-rm tmp.rej
+rm tmp.rej &> /dev/null
 
 echo 'Setup successful'