Merge pull request #1241 from YunoHost/tweak-message-systemd-action

Tweak ynh_systemd_action message : echo -n is pointless
This commit is contained in:
Alexandre Aubin 2021-06-02 20:19:29 +02:00 committed by GitHub
commit 4a47ce1e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,11 +145,8 @@ ynh_systemd_action() {
ynh_print_info --message="The service $service_name has correctly executed the action ${action}."
break
fi
if [ $i -eq 3 ]; then
echo -n "Please wait, the service $service_name is ${action}ing" >&2
fi
if [ $i -ge 3 ]; then
echo -n "." >&2
if [ $i -eq 30 ]; then
echo "(this may take some time)" >&2
fi
sleep 1
done