diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2019-07-08 21:11:32 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2019-07-08 21:11:32 +0200 |
commit | cc469c3dfc398210f38f819d367e68646c71d8da (patch) | |
tree | d997d088b3506e0fbb3503e56d4e472a9b893745 /test/TEST-08-ISSUE-2730/test.sh | |
parent | test: be a little bit more verbose when installing service binaries (diff) | |
download | systemd-cc469c3dfc398210f38f819d367e68646c71d8da.tar.xz systemd-cc469c3dfc398210f38f819d367e68646c71d8da.zip |
test: drop || return 1 expression which is incompatible with set -e
The `set -e` option is incompatible with a subshell/compound command,
which is followed by || <EXPR>. In such case, the -e option is ignored
in all affected subshells/functions (see man bash(1) for command `set`).
Diffstat (limited to 'test/TEST-08-ISSUE-2730/test.sh')
-rwxr-xr-x | test/TEST-08-ISSUE-2730/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-08-ISSUE-2730/test.sh b/test/TEST-08-ISSUE-2730/test.sh index ef2aba0e17..d455d5d555 100755 --- a/test/TEST-08-ISSUE-2730/test.sh +++ b/test/TEST-08-ISSUE-2730/test.sh @@ -60,7 +60,7 @@ ExecStart=/bin/systemctl reload / EOF setup_testsuite - ) || return 1 + ) ln -s /etc/systemd/system/-.mount $initdir/etc/systemd/system/root.mount mkdir -p $initdir/etc/systemd/system/local-fs.target.wants |