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

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
  • Loading branch information
docjyJ committed May 18, 2024
1 parent ba3584b commit f94d884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AIO_LOCK="/opt/stalwart-mail/aio.lock"
DATA_VERSION="0.7.0"

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

0 comments on commit f94d884

Please sign in to comment.