summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 3b8440f..adbc987 100644
--- a/etc/rc
+++ b/etc/rc
@@ -314,7 +314,7 @@ purgedir() {
[ ."$file" = .. -o ."$file" = ... ] && continue
[ -d "$file" -a ! -L "$file" ] &&
purgedir "$file"
- [ -f "$file" ] && rm -f -- "$file"
+ [ -f "$file" -o -S "$file" ] && rm -f -- "$file"
done
)
done
OpenPOWER on IntegriCloud