Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for user mode in run-test.sh #1498

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

koh-osug
Copy link
Contributor

The test script supports a user mode, but fails when it is used.

@@ -80,7 +80,6 @@ esac
# Permissions-related sanity checking
if [[ "$USER_MODE" -eq "0" && $EUID -ne 0 ]]; then
echo "This script must be run as root in order to install dependencies. Use -u for user mode." 1>&2
exit 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not exit after this error message? Same comment below.

Copy link
Contributor Author

@koh-osug koh-osug Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right, this one was too much. Fixed. The other one is needed, otherwise the script is never accepting -u.

Signed-off-by: Karsten Ohme <karsten.ohme@ohmesoftware.de>
@THS-on THS-on merged commit 52ca60b into keylime:master Nov 22, 2023
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants