summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cozy.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/cozy.install b/cozy.install
index 99c59ae92831..5b9c94a2b7bc 100644
--- a/cozy.install
+++ b/cozy.install
@@ -188,7 +188,7 @@ post_remove() {
post_upgrade() {
# Check if the install went well
cozy-monitor status > /dev/null 2>&1
- if [ $? = "1" ]; then
+ if [ $? != "0" ]; then
post_install
else
# Do update here