e350b00b9b
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports. Remove the executable bit from those files. [ci:skip-build] [ci:skip-vercheck]
17 lines
410 B
Diff
17 lines
410 B
Diff
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
|
|
index eb51d76e058a4..3f42652a6a374 100644
|
|
--- a/kernel/timeconst.pl
|
|
+++ b/kernel/timeconst.pl
|
|
@@ -369,10 +369,8 @@ (@)
|
|
die "Usage: $0 HZ\n";
|
|
}
|
|
|
|
- @val = @{$canned_values{$hz}};
|
|
- if (!defined(@val)) {
|
|
- @val = compute_values($hz);
|
|
- }
|
|
+ $cv = $canned_values{$hz};
|
|
+ @val = defined($cv) ? @$cv : compute_values($hz);
|
|
output($hz, @val);
|
|
}
|
|
exit 0;
|