mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Tweak systemd action pending message : echo -n is pointless
This commit is contained in:
parent
d4b69527e7
commit
ec017d7ea5
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue