fix(docker-exec-via-sock): 将 printf 替换为 echo 以简化错误输出
This commit is contained in:
1 parent
6c27561447
commit
a06d882e6f
1 file changed
+1
-1
@@ -201,6 +201,6 @@ else
|
|||||||
log "command failed with exit code $exit_code"
|
log "command failed with exit code $exit_code"
|
||||||
log "output from container:"
|
log "output from container:"
|
||||||
# 将错误输出打印到 stderr
|
# 将错误输出打印到 stderr
|
||||||
printf '%s\n' "$output" >&2
|
echo "$output" >&2
|
||||||
exit "$exit_code"
|
exit "$exit_code"
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user