summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <wjt@endlessm.com>2018-07-23 17:15:13 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-24 20:30:52 +0000
commit96854b902a364c3c0096a9ff7f379f6fbc931d70 (patch)
tree913dc98252508b8a591b7d3f1ed023624e7458f2
parent26fe8c81a3378fcc442edf258768d0504e8e298d (diff)
downloadflatpak-96854b902a364c3c0096a9ff7f379f6fbc931d70.tar.gz
system-helper: fix error when updating not-installed app
Closes: #1919 Approved by: mwleeds
-rw-r--r--system-helper/flatpak-system-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-helper/flatpak-system-helper.c b/system-helper/flatpak-system-helper.c
index 517b7287..1d5115c9 100644
--- a/system-helper/flatpak-system-helper.c
+++ b/system-helper/flatpak-system-helper.c
@@ -219,7 +219,7 @@ handle_deploy (FlatpakSystemHelper *object,
else if (!deploy_dir && is_update)
{
/* Can't update not installed app */
- g_dbus_method_invocation_return_error (invocation, FLATPAK_ERROR, FLATPAK_ERROR_ALREADY_INSTALLED,
+ g_dbus_method_invocation_return_error (invocation, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED,
"%s is not installed", arg_ref);
return TRUE;
}