Skip to content

Commit

Permalink
debian/cephadm.postinst: wrap command line lines which is too long
Browse files Browse the repository at this point in the history
for better readability.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Feb 3, 2024
1 parent a1a8576 commit c517d0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion debian/cephadm.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ case "$1" in
# 1. create user if not existing
if ! getent passwd | grep -q "^cephadm:"; then
echo -n "Adding system user cephadm.."
adduser --quiet --system --disabled-password --gecos 'cephadm user for mgr/cephadm' --shell /bin/bash cephadm 2>/dev/null || true
adduser --quiet \
--system \
--disabled-password \
--gecos 'cephadm user for mgr/cephadm' \
--shell /bin/bash cephadm 2>/dev/null || true
echo "..done"
fi

Expand Down

0 comments on commit c517d0b

Please sign in to comment.