From 274098a029b670bdb3a6deae910fa64b7debe517 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Sat, 1 Aug 2015 18:15:34 +0200 Subject: [PATCH] Small refactor --- scripts/install_plugins.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_plugins.sh b/scripts/install_plugins.sh index 59d30f2..f853147 100755 --- a/scripts/install_plugins.sh +++ b/scripts/install_plugins.sh @@ -71,7 +71,8 @@ install_plugins() { verify_tpm_path_permissions() { # check the write permission flag for all users to ensure # that we have proper access - [ -w $SHARED_TPM_PATH ] || echo_message "$SHARED_TPM_PATH does not seem to be writable!" + [ -w "$SHARED_TPM_PATH" ] || + echo_err "$SHARED_TPM_PATH is not writable!" } main() {