diff --git a/spcd.sh b/spcd.sh index dbb374d..8d52037 100644 --- a/spcd.sh +++ b/spcd.sh @@ -708,7 +708,7 @@ ${spcd_ipm__url} spcd_ipm__script="${spcd_ipm__root}/${spcd_ipm__name}/spcd.sh" if [ -f "${spcd_ipm__script}" ]; then echo -n "${SPCD}" | sha256sum - echo -n "${SPCD}" | wc --bytes + echo -n "${SPCD}" | wc -c sha256sum "${spcd_ipm__script}" fi spcd_ipm__path="${spcd_ipm__root}/${spcd_ipm__name}/${spcd_ipm__name}"