fix: fixed shellcheck warnings
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
2a04ad2afe
commit
250536d8a2
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ find /var/tmp -type d -name 'systemd-*-systemd-timesyncd.service*' -exec rm -rf
|
|||
find /var/lib/apt -type f -delete
|
||||
find /var/cache/apt -type f -delete
|
||||
find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -delete
|
||||
truncate -s0 $HOME/.bash_history
|
||||
[ -w $HOME/.zsh_history ] && truncate -s0 $HOME/.zsh_history
|
||||
truncate -s0 "$HOME"/.bash_history
|
||||
[ -w "$HOME"/.zsh_history ] && truncate -s0 "$HOME"/.zsh_history
|
||||
find /var/log -type f -exec truncate -s0 '{}' '+'
|
||||
dd if=/dev/zero of=/emptyfile oflag=dsync status=progress bs=4M;
|
||||
rm -f /emptyfile;
|
||||
|
|
Loading…
Reference in a new issue