We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a63986 commit 87411d3Copy full SHA for 87411d3
common/null_blk
@@ -68,7 +68,10 @@ _configure_null_blk() {
68
69
for param in "${params[@]}"; do
70
local key="${param%%=*}" val="${param#*=}"
71
- echo "$val" > "$nullb_path/$key" || return 1
+ if ! echo "$val" > "$nullb_path/$key"; then
72
+ echo "Writing $val into $nullb_path/$key failed"
73
+ return 1
74
+ fi
75
done
76
}
77
0 commit comments