Change wipe_tmp_dirs to clean_tmp_dirs so user understands meaning better, #153
This commit is contained in:
parent
749938d439
commit
66cd081301
@ -1,5 +1,5 @@
|
|||||||
# List of /tmp directories we should clean up
|
# List of /tmp directories we should clean up
|
||||||
wipe_tmp_dirs="/tmp"
|
clean_tmp_dirs="/tmp"
|
||||||
|
|
||||||
# Should we wipe the tmp paths completely or just selectively remove known
|
# Should we wipe the tmp paths completely or just selectively remove known
|
||||||
# locks / files / etc... ?
|
# locks / files / etc... ?
|
||||||
|
@ -115,7 +115,7 @@ start()
|
|||||||
|
|
||||||
# Clean up /tmp directories
|
# Clean up /tmp directories
|
||||||
local tmp=
|
local tmp=
|
||||||
for tmp in ${wipe_tmp_dirs-/tmp}; do
|
for tmp in ${clean_tmp_dirs:-${wipe_tmp_dirs-/tmp}}; do
|
||||||
cleanup_tmp_dir "${tmp}"
|
cleanup_tmp_dir "${tmp}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user