This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from 81fa037 killstalevms.bash: get VMs, get builder PIDs. new e215702 killstalevms.bash: try to fix arithmetic expression. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 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 e2157024727c204e6617547778f7c67e789b6dd0 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Feb 11 23:32:01 2015 +0100 killstalevms.bash: try to fix arithmetic expression. --- killstalevms.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/killstalevms.bash b/killstalevms.bash index b1761a5..48a67a1 100644 --- a/killstalevms.bash +++ b/killstalevms.bash @@ -8,7 +8,8 @@ typeset -i i i=0 pgrep -f -u root '^kvm.*pbuilder.*qemu.*' | while read VM_PID; do - VM_LIST[$((i++))]="${VM_PID}" + VM_LIST[$i]="${VM_PID}" + i=$((i++)) done typeset -a BUILDER_LIST -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git