Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / host / lib.sh
index 8eb2dfa..c6ebc9e 100644 (file)
@@ -1,3 +1,6 @@
 . "$tool"/etc/host.sh
-set -x
-test "$(hostname --fqdn)" = "$local_host"
+. "$tool"/lib/log.sh
+assert 'test "$(hostname --fqdn)" = "$local_host"'
+
+export TRACE=${TRACE-set}
+test "$TRACE" = '' || set -x