From 4092e0280274f236d91bc8f54c25530e816b2abf Mon Sep 17 00:00:00 2001 From: AJ Granowski Date: Sat, 28 Sep 2024 23:47:46 -0700 Subject: [PATCH] Add periods to comments --- src/image/entrypoint | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/image/entrypoint b/src/image/entrypoint index 3dc637b..4a1af94 100755 --- a/src/image/entrypoint +++ b/src/image/entrypoint @@ -22,7 +22,7 @@ print_user() { grep -e "^$1:" /etc/passwd; } -# Parse options +# Parse options. while [ $# -gt 0 ]; do case $1 in --debug) @@ -53,21 +53,21 @@ if [ "$o_setup" = true ]; then if ! check_setpriv >/dev/null 2>&1; then echo 'setpriv is not installed or is out of date. Attempting to install setpriv...'; - # Attempt to install setpriv with apk + # Attempt to install setpriv with apk. if (apk update && apk -s add setpriv) >/dev/null 2>&1; then apk add --no-cache "setpriv>=$SETPRIV_VERSION"; hash -r; check_setpriv; echo 'setpriv installed!'; - # Attempt to install setpriv from util-linux with apt-get + # Attempt to install setpriv from util-linux with apt-get. elif (apt-get update && apt-get install --dry-run util-linux) >/dev/null 2>&1; then apt-get satisfy --no-install-recommends -y "util-linux (>=$UTIL_LINUX_VERSION)"; hash -r; check_setpriv; echo 'setpriv installed!'; - # Attempt to install gosu as a fallback + # Attempt to install gosu as a fallback. elif ! check_gosu >/dev/null 2>&1; then echo 'gosu is not installed or is out of date. Attempting to install gosu...'; @@ -171,7 +171,7 @@ else echo "$CHOWN_LIST" | xargs chown -c "$HOST_MAPPED_UID:$HOST_MAPPED_GID" >&3; fi - # Execute using $HOST_MAPPED_UID + # Execute using $HOST_MAPPED_UID. if check_setpriv >/dev/null 2>&1; then if [ -n "$CAPABILITIES" ]; then capabilities="-all,$CAPABILITIES";