git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f8bb3
)
scripts/priv-net-run: print plugin results if DEBUG>0
author
Stefan Junker
<mail@stefanjunker.de>
Wed, 27 Jan 2016 09:58:01 +0000
(10:58 +0100)
committer
Stefan Junker
<mail@stefanjunker.de>
Wed, 27 Jan 2016 09:58:01 +0000
(10:58 +0100)
scripts/exec-plugins.sh
patch
|
blob
|
history
diff --git
a/scripts/exec-plugins.sh
b/scripts/exec-plugins.sh
index
d154ace
..
34da773
100755
(executable)
--- a/
scripts/exec-plugins.sh
+++ b/
scripts/exec-plugins.sh
@@
-25,6
+25,8
@@
function exec_plugins() {
echo "${name} : error executing $CNI_COMMAND: $errmsg"
exit 1
+ elif [[ ${DEBUG} -gt 0 ]]; then
+ echo ${res} | jq -r .
fi
let "i=i+1"