Fix wrong equals
authorJamie Cameron <jcameron@webmin.com>
Sat, 18 Jun 2011 22:33:51 +0000 (15:33 -0700)
committerJamie Cameron <jcameron@webmin.com>
Sat, 18 Jun 2011 22:33:51 +0000 (15:33 -0700)
fsdump/backup.pl

index 418a264..a600176 100755 (executable)
@@ -72,7 +72,7 @@ else {
        $status{'end'} = time();
        &write_file($sfile, \%status);
 
-       if ($status{'status'} = 'complete') {
+       if ($status{'status'} eq 'complete') {
                # Execute the post-backup script
                $bok = &execute_after($dump, OUT, 0);
                if (!$bok && !$dump->{'afterfok'}) {