From f72f36e056c91b1115e970be850bf46c57d17eb0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 2 Feb 2021 14:04:53 +0100 Subject: update-me.in: report-installed-packages needs root, too --- update-me.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update-me.in b/update-me.in index 0c84c16..f20f837 100644 --- a/update-me.in +++ b/update-me.in @@ -80,9 +80,10 @@ command_needs_root() { s@^.*/@@ ' ) - if [ "${cmd}" = 'mount' ] \ - || [ "${cmd}" = 'checkservices' ] \ - || [ "${cmd}" = 'check-kernel' ]; then + if [ "${cmd}" = 'checkservices' ] \ + || [ "${cmd}" = 'check-kernel' ] \ + || [ "${cmd}" = 'mount' ] \ + || [ "${cmd}" = 'report-installed-packages' ]; then return 0 else return 1 -- cgit v1.2.3-70-g09d2