Browse Source

fixed on outputting

Joachim M. Giæver 5 years ago
parent
commit
249b139295
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/lxcbuild

+ 1 - 0
bin/lxcbuild

@@ -30,6 +30,7 @@ function container_sh {
 	OUT=$(lxc exec ${CONTAINER_NAME} -- sh -c "${1}")
 	RET=$?
 	if [ $# -eq 1 ] && [ ${RET} -ne 0 ]; then
+		echo ${OUT}
 		cprint "info" "${OUT}"
 	fi
 	return ${RET}