Skip to content

Commit

Permalink
Item9160: Make sure some result is returned after archive.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@7803 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Jun 15, 2010
1 parent 48feffd commit 5847ce1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/Foswiki/Configure/Package.pm
Expand Up @@ -668,6 +668,9 @@ sub createBackup {
unless ( $this->{_options}->{SIMULATE} );
$rslt = ' - Simulated backup, no files copied '
if ( $this->{_options}->{SIMULATE} );

$rslt = "FAILED \n" . $err unless ($rslt);

return "Backup saved into $pkgstore \n Archived as $rslt \n";
}
return "Nothing to backup \n";
Expand Down

0 comments on commit 5847ce1

Please sign in to comment.