depot/third_party/nixpkgs/pkgs/applications/networking/firehol/firehol-uname-command.patch

12 lines
203 B
Diff
Raw Normal View History

--- 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