Commit 4b7e74b
committed
Allow for temp folder to be prefixed with
Mac OS X puts some of the system folders like `/var` and `/tmp` into a special hidden `/private` folder. When checking whether the folder to delete is indeed within a temp folder (as a safeguard), we should also allow for a version of the temp folder prefixed with `/private`./private
1 parent 83b636f commit 4b7e74b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments