Small refactor

This commit is contained in:
Bruno Sutic 2015-08-01 18:15:34 +02:00
parent 9a34ff66bc
commit 274098a029
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
1 changed files with 2 additions and 1 deletions

View File

@ -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() {