summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-02 14:55:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-12 09:24:43 +0200
commitdd2ebd1b1d5a6e5316dce252cfe3f6e7777f341c (patch)
treed6651dd9a8279e7ccccb09d1acc549479cbd7af9
parentkernel-install: use set -e (diff)
downloadsystemd-dd2ebd1b1d5a6e5316dce252cfe3f6e7777f341c.tar.xz
systemd-dd2ebd1b1d5a6e5316dce252cfe3f6e7777f341c.zip
kernel-install: suppress bogus shellcheck hint
I don't quite understand this, but '{ ! true; }' is not the same as '( ! true )'. In interactive mode, it seems to work as expected. But in a script, it doesn't.
-rwxr-xr-xsrc/kernel-install/test-kernel-install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel-install/test-kernel-install.sh b/src/kernel-install/test-kernel-install.sh
index b350b4d1ef..eda3eaaebf 100755
--- a/src/kernel-install/test-kernel-install.sh
+++ b/src/kernel-install/test-kernel-install.sh
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
+# shellcheck disable=SC2235
set -eu
set -o pipefail