summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/scrubtree2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 7c43d1541..6b604b0f2 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -57,7 +57,7 @@ while [ -n "$1" ]; do
fi
done
# if it's not in our list and it doesn't exist, link to busybox
- if [ -z "$save" -a ! -f "$1" ]; then
+ if [ -z "$save" -a ! -f "$1" -a ! -f "$p/usr/sbin/$1" ]; then
ln -sf ./busybox $1
else
[ -n "$DEBUG" ] && echo "Overriding busybox version of $1"