initfs hook_ls: make clear what's not installed (#1409)

This commit is contained in:
Oliver Smith 2018-04-11 22:26:48 +00:00 committed by GitHub
parent 06b1f3e58f
commit 14c4845838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ def ls(args, suffix):
line = "* " + hook
if hook in hooks_chroot:
line += " (installed)"
else:
line += " (not installed)"
logging.info(line)