Commit 56107efc authored by Leo Le Bouter's avatar Leo Le Bouter

dracut.module: Print correct names for missing env vars

parent b6936735
/home/lle-bout/Projects/metadata-collect-agent/target/x86_64-unknown-linux-musl/release/metadata-collect-agent
\ No newline at end of file
......@@ -3,15 +3,15 @@ dracut_module: 90metadata-collect/metadata-collect-agent 90metadata-collect/coll
include collect-sh-template.mk
90metadata-collect/collect.sh:
@ if [ "${ERP5_USER}" = "" ]; then \
echo "Environment variable $* not set"; \
echo "Environment variable ERP5_USER not set"; \
exit 1; \
fi
@ if [ "${ERP5_PASS}" = "" ]; then \
echo "Environment variable $* not set"; \
echo "Environment variable ERP5_PASS not set"; \
exit 1; \
fi
@ if [ "${ERP5_BASE_URL}" = "" ]; then \
echo "Environment variable $* not set"; \
echo "Environment variable ERP5_BASE_URL not set"; \
exit 1; \
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment