From: Julien Moutinho Date: Tue, 16 Apr 2013 14:06:54 +0000 (+0200) Subject: Correction : vm_hosted : cd / sauf pour help. X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=9a47c2d3c560e4b03c0672da32d92d3b582fab14 Correction : vm_hosted : cd / sauf pour help. --- diff --git a/vm_hosted b/vm_hosted index 3ac6ced..9d6710d 100755 --- a/vm_hosted +++ b/vm_hosted @@ -8,7 +8,6 @@ tool=${tool%/*} . "$tool"/lib/rule.sh . "$tool"/etc/vm.sh export TRACE=1 -cd / rule_help () { # SYNTAX: [--hidden] local hidden; [ ${1:+set} ] || hidden=set @@ -886,6 +885,7 @@ case $rule in (help);; (*) assert 'test "$(hostname --fqdn)" = "$vm_fqdn"' vm_fqdn + cd / ;; esac rule $rule "$@"