diff --git a/files/www/cgi-bin/admin b/files/www/cgi-bin/admin index 661521fb..c68d8f85 100755 --- a/files/www/cgi-bin/admin +++ b/files/www/cgi-bin/admin @@ -249,7 +249,7 @@ if($fw_install and -f "$tmpdir/firmware") nvram_set("nodeupgraded","1"); system("tar -czf /tmp/arednsysupgradebackup.tgz -T /tmp/sysupgradefilelist"); - if ($? == 1) { + if ($? != 0) { print "

ERROR: Could not backup filesystem.

An error occured trying to backup the file system. Node will now reboot.