Skip to content
Snippets Groups Projects
Commit 94fa09d9 authored by Lukas Braun's avatar Lukas Braun
Browse files

pam tests: use whoami, $USER might not be set

parent f5c91c41
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ fi ...@@ -13,7 +13,7 @@ fi
cleanup() { cleanup() {
type start_pg_cleanup >/dev/null 2>/dev/null && start_pg_cleanup type start_pg_cleanup >/dev/null 2>/dev/null && start_pg_cleanup
pkill -u $USER goatherd pkill -u $(whoami) goatherd
} }
trap 'cleanup' EXIT INT trap 'cleanup' EXIT INT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment