Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Commit f94d884

Browse files
committed
Fix script
Signed-off-by: Jean-Yves <[email protected]>
1 parent ba3584b commit f94d884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AIO_LOCK="/opt/stalwart-mail/aio.lock"
55
DATA_VERSION="0.7.0"
66

77
if [ -f "$AIO_LOCK" ]; then
8-
if ! cmp --silent <$(cat "$AIO_LOCK") <$(echo "$DATA_VERSION"); then
8+
if [ "$DATA_VERSION" != "$(cat "$AIO_LOCK")" ]; then
99
echo "Your data is in an old format."
1010
echo "Make a backup and see https://github.com/nextcloud/all-in-one/blob/main/community-containers/stalwart/readme.md"
1111
echo "To avoid any loss of data, Stalwart will not launch."

0 commit comments

Comments
 (0)