aboutsummaryrefslogtreecommitdiff
path: root/cli/update-user.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli/update-user.php')
-rwxr-xr-xcli/update-user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/update-user.php b/cli/update-user.php
index ff0177997..553025d2b 100755
--- a/cli/update-user.php
+++ b/cli/update-user.php
@@ -80,7 +80,7 @@ if (!$ok) {
if (isset($cliOptions->apiPassword)) {
$error = FreshRSS_api_Controller::updatePassword($cliOptions->apiPassword);
- if ($error) {
+ if ($error !== false) {
fail($error);
}
}