summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkupdate12
1 files changed, 6 insertions, 6 deletions
diff --git a/mdkupdate b/mdkupdate
index d16068e2..a807c9ca 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -83,12 +83,12 @@ GetOptions(%options);
-e $logfile and rm_rf($logfile);
- my $ret = update_pkgs();
- if ($ret != 1) {
- output_p($logfile, "[mdkupdate] Error 100: Packages failed to upgrade");
- log::explanations("[mdkupdate] Error 100: Packages failed to upgrade");
- }
- clean_dir();
+my $ret = update_pkgs();
+if ($ret != 1) {
+ output_p($logfile, "[mdkupdate] Error 100: Packages failed to upgrade");
+ log::explanations("[mdkupdate] Error 100: Packages failed to upgrade");
+}
+clean_dir();
sub update_pkgs {