+
+# Bind Magisk binary directories so root works, closing per Issue #2100.
+if [ -d /sbin ] && [ -d /root ]; then
+ # Both of these directories exist under Android even without Magisk installed,
+ # The existence check is to ensure that it doesn't break if this changes.
+ ARGS="$ARGS -b /sbin:/sbin -b /root:/root"
+fi
+