projects
/
trigger-rcmd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd8ced
)
Fix another (last?) shellcheck(1) warning ...
master
author
Alexander Barton
<alex@barton.de>
Tue, 22 Dec 2020 11:15:04 +0000
(12:15 +0100)
committer
Alexander Barton
<alex@barton.de>
Tue, 22 Dec 2020 11:15:04 +0000
(12:15 +0100)
scripts/trigger-rcmd
patch
|
blob
|
history
diff --git
a/scripts/trigger-rcmd
b/scripts/trigger-rcmd
index 9ef9ad81e17b3f9c62bdc08dbc3d8a0abacd8f60..102fe162754d5e25922b9feafeee233a3f9bb5b4 100755
(executable)
--- a/
scripts/trigger-rcmd
+++ b/
scripts/trigger-rcmd
@@
-33,9
+33,7
@@
do_rcmd() {
# Read in job/configuration file, but ignore shellcheck(1) warnings:
# shellcheck disable=1090
- . "$cnf"
-
- if [ $? -ne 0 ]; then
+ if ! . "$cnf"; then
echo "$NAME: Failed to read \"$cnf\"!"
return 2
fi