Skip to content

Commit

Permalink
only trailing white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
parmentelat committed Feb 4, 2024
1 parent 7ef62fc commit 6d38bfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/start-in-dir-as-uid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function -echo-stdout() {

-echo-stdout "checking for uid $uid"
# create uid if missing
# do not create homedir; this is because
# do not create homedir; this is because
if getent passwd $uid > /dev/null; then
# this uid already exists, let's figure what the login is
login=$(getent passwd $uid | cut -d: -f1)
Expand All @@ -60,7 +60,7 @@ else
useradd --uid $uid --no-create-home --shell /bin/bash $login
fi

# go to the place
# go to the place
[ -d $dir ] || { printf "$0: no such directory $dir"; exit 1; }
cd $dir
# doing chown -R is overkill, and in fact a substantial fraction
Expand Down

0 comments on commit 6d38bfb

Please sign in to comment.