diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-02 14:55:05 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-12 09:24:43 +0200 |
commit | dd2ebd1b1d5a6e5316dce252cfe3f6e7777f341c (patch) | |
tree | d6651dd9a8279e7ccccb09d1acc549479cbd7af9 | |
parent | kernel-install: use set -e (diff) | |
download | systemd-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-x | src/kernel-install/test-kernel-install.sh | 1 |
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 |