mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Do not show errors about log not existing yet.
This commit is contained in:
parent
337a065b4a
commit
08e51f2680
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ ynh_systemd_action() {
|
|||
local pid_tail=$!
|
||||
else
|
||||
# Read the specified log file
|
||||
tail -F -n0 "$log_path" > "$templog" &
|
||||
tail -F -n0 "$log_path" > "$templog" 2>&1 &
|
||||
# Get the PID of the tail command
|
||||
local pid_tail=$!
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue