nixpkgs-suyu/pkgs/applications/networking/firehol/firehol-uname-command.patch

12 lines
203 B
Diff
Raw Normal View History

2021-01-01 13:44:58 +01:00
--- a/sbin/firehol
+++ b/sbin/firehol
@@ -10295,7 +10295,7 @@
kmaj=$1
kmin=$2
- set -- $($UNAME_CMD -r)
+ set -- $("$UNAME_CMD" -r)
eval $kmaj=\$1 $kmin=\$2
}
kernel_maj_min KERNELMAJ KERNELMIN