dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : vm_* : help toujours accessible.
[lhc/ateliers.git]
/
vm_host
diff --git
a/vm_host
b/vm_host
index
0bf383d
..
d5d9277
100755
(executable)
--- a/
vm_host
+++ b/
vm_host
@@
-3,7
+3,6
@@
set -e -f ${DRY_RUN:+-n} -u
tool=${0%/*}
. "$tool"/lib/functions.sh
. "$tool"/etc/vm.sh
tool=${0%/*}
. "$tool"/lib/functions.sh
. "$tool"/etc/vm.sh
-test "$(hostname --fqdn)" = "$vm_host"
rule_help () {
cat >&2 <<-EOF
rule_help () {
cat >&2 <<-EOF
@@
-434,5
+433,11
@@
rule__chroot_clean () {
rule=${1:-help}
${1+shift}
rule=${1:-help}
${1+shift}
-set "${TRACE:+-x}"
+case $rule in
+ (help);;
+ (*)
+ test "$(hostname --fqdn)" = "$vm_host"
+ set "${TRACE:+-x}"
+ ;;
+ esac
rule_$rule "$@"
rule_$rule "$@"