aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-06-26 14:48:08 +0200
committerJoel Granados <joel.granados@kernel.org>2025-07-23 11:56:02 +0200
commit02b072fd9fe1c5e16b7ae8da2f4ae31c8ef6f6a3 (patch)
treebf3578f79dfb56df3da4bbb387a508de72e3e576
parentsysctl: Remove superfluous includes from kernel/sysctl.c (diff)
downloadwireguard-linux-02b072fd9fe1c5e16b7ae8da2f4ae31c8ef6f6a3.tar.xz
wireguard-linux-02b072fd9fe1c5e16b7ae8da2f4ae31c8ef6f6a3.zip
sysctl: Nixify sysctl.sh
Use "#!/usr/bin/env bash" instead of "#!/bin/bash". Needed for testing in nix environments as they only provide /usr/bin/env at the standard location. Signed-off-by: Joel Granados <joel.granados@kernel.org>
-rwxr-xr-xtools/testing/selftests/sysctl/sysctl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh
index a10350c8a46e..b2d8bd9026a7 100755
--- a/tools/testing/selftests/sysctl/sysctl.sh
+++ b/tools/testing/selftests/sysctl/sysctl.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1
# Copyright (C) 2017 Luis R. Rodriguez <mcgrof@kernel.org>