Ajout : lib/log.sh .
[lhc/ateliers.git] / vm_host
diff --git a/vm_host b/vm_host
index 1577977..0a2649d 100755 (executable)
--- a/vm_host
+++ b/vm_host
@@ -437,7 +437,8 @@ ${1+shift}
 case $rule in
  (help);;
  (*)
-       test "$(hostname --fqdn)" = "$vm_host"
+       test "$(hostname --fqdn)" = "$vm_host" ||
+       error 1 "mauvaise machine"
        ${TRACE:+set -x}
        ;;
  esac