Don't show reboot message all the time.
authorJan Paul Tuecking <earl@ipfire.org>
Sat, 4 Dec 2010 18:49:36 +0000 (19:49 +0100)
committerJan Paul Tuecking <earl@ipfire.org>
Sat, 4 Dec 2010 18:49:36 +0000 (19:49 +0100)
html/cgi-bin/index.cgi

index b85b22ce83609e02035b12d10dc3de512c07a574..052e8cac648da0dacce7efc3c46430c410f13646 100755 (executable)
@@ -446,7 +446,7 @@ END
 &Pakfire::dblist("upgrade", "notice");
 print <<END;
 END
-if ($reboot == 0) {
+if ($reboot == 1) {
        print "<br /><font color='red'>$Lang::tr{'needreboot'}!</font>";
 }
 } else {