mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-10-20 21:21:57 +00:00
Change the new root path to absolute
This commit is contained in:
@@ -1018,7 +1018,7 @@ ventoy_init_udev_auto_rules() {
|
||||
}
|
||||
|
||||
ventoy_new_root_dir() {
|
||||
for vroot in sysroot newroot new_root root live/aufs pup_new; do
|
||||
for vroot in /sysroot /newroot /new_root /root /live/aufs /pup_new; do
|
||||
if [ -d $vroot/etc/udev/rules.d ]; then
|
||||
echo "$vroot"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user