Merge pull request #1 from erickeller/fix_typo_log

fix redirection typo to ${LOG}
This commit is contained in:
Michael Adam 2015-12-21 07:42:07 +01:00
commit 93d29d107c

View file

@ -3,21 +3,21 @@
utils.lxc.attach() {
cmd="$@"
log "Running [${cmd}] inside '${CONTAINER}' container..."
(lxc-attach -n ${CONTAINER} -- $cmd) & >> ${LOG}
(lxc-attach -n ${CONTAINER} -- $cmd) &>> ${LOG}
}
utils.lxc.start() {
lxc-start -d -n ${CONTAINER} & >> ${LOG} || true
lxc-start -d -n ${CONTAINER} &>> ${LOG} || true
}
utils.lxc.stop() {
lxc-stop -n ${CONTAINER} & >> ${LOG} || true
lxc-stop -n ${CONTAINER} &>> ${LOG} || true
}
utils.lxc.destroy() {
lxc-destroy -n ${CONTAINER} & >> ${LOG}
lxc-destroy -n ${CONTAINER} &>> ${LOG}
}
utils.lxc.create() {
lxc-create -n ${CONTAINER} "$@" & >> ${LOG}
lxc-create -n ${CONTAINER} "$@" &>> ${LOG}
}