transfused: use find rather than rm+glob to clean up /tmp

This avoids annoying error messages about . and ..

Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
David Sheets 2016-06-09 11:20:48 +01:00
parent fb87dcc359
commit ede31ffe5b

View File

@ -7,7 +7,7 @@ start()
ebegin "Starting FUSE socket passthrough"
mkdir -p /Mac
rm -rf /tmp/* /tmp/.*
find /tmp -mindepth 1 -delete
PIDFILE=/var/run/transfused.pid
STARTUP_LOGFILE=/var/transfused_start.log