aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbosrcarch4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbosrcarch b/sbosrcarch
index 8e1956c..e7f1a2b 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -1734,8 +1734,7 @@ sub check_info_wanted {
}
# write status results to STATUS file in the root of the archive
-# dir. if there's an old STATUS, it gets renamed to STATUS.old.
-# errors will be silently ignored (e.g. permission denied).
+# dir. errors will be silently ignored (e.g. permission denied).
sub write_status_file {
my $content = shift;
@@ -1746,7 +1745,6 @@ sub write_status_file {
chomp(my $logline = `TZ=UTC git log --date=format-local:'%a %Y-%m-%d %H:%M:%S %Z' --pretty=format:'%h %cd: %an, %s' -n1`);
chdir($archivedir) or die "$archivedir: $!";
- rename("STATUS", "STATUS.old"); # ignore errors
open(my $fh, '>', "STATUS") or return;
chomp(my $timestamp = `TZ=UTC date '+%a %Y-%m-%d %H:%M:%S %Z'`);