URL:
https://github.com/SSSD/sssd/pull/5316
Author: luizluca
Title: #5316: SSSCTL: fix logs-remove when log directory is empty
Action: opened
PR body:
"""
"sssctl logs-remove" calls "truncate --size 0 *.log" and
"*.log"
will expand to literal '*.log' when directory is empty. The result
is a new empty '*.log' file.
Add '--no-create' to truncate call.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca(a)gmail.com>
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/5316/head:pr5316
git checkout pr5316