Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit ceacad9

Browse files
authored
fix a globbing warning in the box cleanup find commands
1 parent 940291a commit ceacad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/homebin/box-cleanup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ rm -rf /usr/share/doc/*
6767
find /var/cache -type f -exec rm -rf {} \;
6868

6969
# delete any logs that have built up during the install
70-
find /var/log/ -name *.log -exec rm -f {} \;
70+
find /var/log/ -name "*.log" -exec rm -f {} \;
7171

7272
# Blank netplan machine-id (DUID) so machines get unique ID generated on boot.
7373
truncate -s 0 /etc/machine-id

0 commit comments

Comments
 (0)