chiark / gitweb /
*sigh*
authorPeter Palfrader <peter@palfrader.org>
Fri, 23 Oct 2009 18:18:10 +0000 (20:18 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 23 Oct 2009 18:18:10 +0000 (20:18 +0200)
buildd-reboot
debian/changelog

index d082ef28366957043f9eb91ed8c7f2ddcc3915bb..d2e9a5831c58a7712c418a46fa148d0ca8f8f56a 100755 (executable)
@@ -50,7 +50,7 @@ wall_counter=0
 maybe_wall() {
        wall_counter=$((wall_counter-1))
        if [ "$wall_counter" -le 0 ]; then
 maybe_wall() {
        wall_counter=$((wall_counter-1))
        if [ "$wall_counter" -le 0 ]; then
-               if [ "$host" = 1 ]; then
+               if [ "$halt" = 1 ]; then
                        echo "System will halt for $reason when buildd has stopped" | wall
                else
                        echo "System will reboot for $reason when buildd has stopped" | wall
                        echo "System will halt for $reason when buildd has stopped" | wall
                else
                        echo "System will reboot for $reason when buildd has stopped" | wall
@@ -79,7 +79,7 @@ buildd_wait_and_reboot() {
                echo
        fi
 
                echo
        fi
 
-       if [ "$host" = 1 ]; then
+       if [ "$halt" = 1 ]; then
                /sbin/shutdown -p 15 "$reason"
        else
                /sbin/shutdown -p 15 "$reason"
                /sbin/shutdown -p 15 "$reason"
        else
                /sbin/shutdown -p 15 "$reason"
index 59c4cbb2a3e1be504af32ac3010c6f9952a8f45a..07406dc715a465f92487ab5def6beda8687dc92e 100644 (file)
@@ -1,3 +1,10 @@
+debian.org (25) stable; urgency=low
+
+  * Why is it always the featurs that you add and can't possibly break
+    that break?
+
+ -- Peter Palfrader <weasel@debian.org>  Fri, 23 Oct 2009 20:17:34 +0200
+
 debian.org (24) stable; urgency=low
 
   * New dependencies of debian.org-recommended:
 debian.org (24) stable; urgency=low
 
   * New dependencies of debian.org-recommended: