Apparently more portable

This commit is contained in:
Manav Rathi
2025-03-20 21:03:26 +05:30
parent d01fdd966f
commit 74eff4d50b

View File

@@ -25,7 +25,7 @@ then
exit 1
fi
if ! which base64 >/dev/null
if ! command -v base64 >/dev/null
then
printf "ERROR: base64 command not found. It is needed to autogenerate credentials.\n"
exit 1