This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from 7cada68 killstalevms.bash: add missing curly brace for variable. new 1f24792 killstalevms.bash: don't quote integer in integer expression test. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: killstalevms.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 1f24792f64db5e12f258764333ab526c4eb56040 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Feb 12 02:35:42 2015 +0100 killstalevms.bash: don't quote integer in integer expression test. --- killstalevms.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/killstalevms.bash b/killstalevms.bash index d985e2a..9321977 100644 --- a/killstalevms.bash +++ b/killstalevms.bash @@ -47,15 +47,15 @@ for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do DIALOGMENU+=("$i" "${VM_LIST[$i]}: ${COMPONENT_LIST[$i]} (${VERSION_LIST[$i]}) for ${BRANCH_LIST[$i]}") done -while [ "${RESULT}" -eq "0" ]; do +while [ "${RESULT}" -eq 0 ]; do MOREINFO=$(dialog --menu "Select VM to kill" 0 0 10 "${DIALOGMENU[@]}") RESULT="$?" - if [ "${RESULT}" -eq "0" ]; then + if [ "${RESULT}" -eq 0 ]; then dialog --yesno "PID: ${VM_LIST[${MOREINFO}]}\nComponent: ${COMPONENT_LIST[${MOREINFO}]}\nVersion: ${VERSION_LIST[${MOREINFO}]}\nOS: ${SYSTEM_LIST[${MOREINFO}]} -- ${SYSTEM_VERSION_LIST[${MOREINFO}]} -- ${ARCH_LIST[${MOREINFO}]}\nBranch: ${BRANCH_LIST[${MOREINFO}]}\n\nPlease check that this job is currently not being actively executed by Jenkins!\n\nAre you sure you want to kill this process?" 0 0 RESULT="$?" - if [ "${RESULT}" -eq "0" ]; then + if [ "${RESULT}" -eq 0 ]; then echo kill -9 "${VM_LIST[${MOREINFO}]}" fi fi -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git