Skip to content

Commit

Permalink
Change run as root message
Browse files Browse the repository at this point in the history
  • Loading branch information
lakinduakash committed Sep 12, 2021
1 parent dc53fc3 commit 4e202df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/create_ap
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ if [[ -n "$LIST_CLIENTS_ID" ]]; then
fi

if [[ $(id -u) -ne 0 ]]; then
echo "You must run it as root." >&2
echo "create_ap must be run as root." >&2
exit 1
fi

Expand Down

0 comments on commit 4e202df

Please sign in to comment.