diff options
author | Will Thompson <wjt@endlessm.com> | 2018-07-23 17:15:13 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-24 20:30:52 +0000 |
commit | 96854b902a364c3c0096a9ff7f379f6fbc931d70 (patch) | |
tree | 913dc98252508b8a591b7d3f1ed023624e7458f2 | |
parent | 26fe8c81a3378fcc442edf258768d0504e8e298d (diff) | |
download | flatpak-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.c | 2 |
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; } |