From 4a5312b3a9419c8b3e07dda2b650d5fbf9a38d34 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Wed, 24 Jul 2024 11:27:51 -0400 Subject: [PATCH] output --- usr/bin/permission-hardener | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/bin/permission-hardener b/usr/bin/permission-hardener index a71e9e6..b66db0f 100755 --- a/usr/bin/permission-hardener +++ b/usr/bin/permission-hardener @@ -13,14 +13,14 @@ store_dir="/var/lib/permission-hardener" dpkg_admindir_parameter_existing_mode="--admindir ${store_dir}/existing_mode" dpkg_admindir_parameter_new_mode="--admindir ${store_dir}/new_mode" -log_level=info +log_level=notice # shellcheck disable=SC1091 source /usr/libexec/helper-scripts/log_run_die.sh echo_wrapper_ignore() { if test "${1}" = "verbose"; then shift - log info "Run: $*" + log notice "Run: $*" else shift fi @@ -30,7 +30,7 @@ echo_wrapper_ignore() { echo_wrapper_audit() { if test "${1}" = "verbose"; then shift - log info "Run: $*" + log notice "Run: $*" else shift fi @@ -559,7 +559,7 @@ apply() { sanity_tests parse_config_folder - log info "\ + log notice "\ To compare the current and previous permission modes, install 'meld' (or preferred diff tool) for comparison of file mode changes: sudo apt install --no-install-recommends meld meld ${store_dir}/existing_mode/statoverride ${store_dir}/new_mode/statoverride"