diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-09-12 15:20:06 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-09-12 15:20:06 +0200 |
commit | 66155de48c685b29d96ca95bc1a45078f8f4c681 (patch) | |
tree | 3f9351ce16fcc18f7bcf39938d147404e19667d4 /src/wgtpkg-install.c | |
parent | 8afd46f28a677c40a482ccd18ca5568cf6c0f6aa (diff) |
Fix installation of more than one widget
Using command line tool, it is possible to install
more than just one widget. Before this commit, the
list of requested permission was not cleaned.
Change-Id: Ic9311754f51f12d6231d1f08a55eb4b4aef0c74e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-install.c')
-rw-r--r-- | src/wgtpkg-install.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wgtpkg-install.c b/src/wgtpkg-install.c index 7d0c318..c4e70e3 100644 --- a/src/wgtpkg-install.c +++ b/src/wgtpkg-install.c @@ -253,6 +253,7 @@ struct wgt_info *install_widget(const char *wgtfile, const char *root, int force if (!ifo) goto error2; + reset_requested_permissions(); desc = wgt_info_desc(ifo); if (check_widget(desc)) goto error3; |