Skip to content

Commit ffa979e

Browse files
committed
mirror-nixos-branch: fix typo causing the script to always die
run() returns the exit code, but a successful exit is 0 (falsy), causing the `or die` to always invoke. My bad, this slipped through my testing. Ref: b4fca4f
1 parent 430ccbc commit ffa979e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mirror-nixos-branch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ sub fetch {
108108
my $rev = $evalInfo->{jobsetevalinputs}->{nixpkgs}->{revision} or die;
109109

110110
# Get commit date of $rev as unixtime and formatted string
111-
run("git fetch origin $rev >&2") or die;
111+
run("git fetch origin $rev >&2");
112112
my $revUnix = `git show --no-patch --format='%ct' $rev` or die;
113113
my $revDate = strftime("%F %T %Z", localtime($revUnix));
114114

0 commit comments

Comments
 (0)