debian/postinst
changeset 35 3fedae1f6ceb
parent 32 89fb9c6611ca
--- a/debian/postinst
+++ b/debian/postinst
@@ -38,7 +38,7 @@
 	echo "Setting permissions for /var/lib/mcbot/.mcbotrc to 600"
 	chmod 600 /var/lib/mcbot/.mcbotrc
 	echo "ENTER /etc/init.d/mcbot restart after editing .mcbotrc"
-	update-rc.d mcbot defaults &>/dev/null
+	update-rc.d mcbot defaults >/dev/null 2>&1
 	invoke-rc.d mcbot restart
     ;;