Browse Source

[fix] make weblate.push.translations

Even when there are changes, the function exit without pushing them.
Alexandre Flament 3 years ago
parent
commit
f4dd5b226d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      manage

+ 1 - 1
manage

@@ -266,7 +266,7 @@ weblate.push.translations() {
     if [ "$exitcode" -eq 42 ]; then
         return 0
     fi
-    if [ "$exitcode" ]; then
+    if [ "$exitcode" -gt 0 ]; then
        return $exitcode
     fi
     (