Skip to content
Snippets Groups Projects
Unverified Commit 2b5f185f authored by Koen Zandberg's avatar Koen Zandberg Committed by GitHub
Browse files

Merge pull request #8293 from smlng/enh/tools/tapsetup

tools/tapsetup: try to retrieve user name if not set
parents a40e9bac 24d79ca1
Branches
No related tags found
No related merge requests found
......@@ -175,8 +175,11 @@ while true ; do
done
if [ -z "${USER}" ]; then
echo 'need to export $USER'
exit 1
export USER=$(id -un)
if [ -z "${USER}" ]; then
echo 'need to export $USER'
exit 1
fi
fi
if [ -z "${COMMAND}" ]; then
COMMAND="create"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment