mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-19 08:55:16 +00:00
Always use /bin/bash to launch VentoyPlugson.sh (#1809)
This commit is contained in:
parent
13eb9829fa
commit
36c21a21e4
@ -17,6 +17,15 @@ if [ $uid -ne 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$1" = "__vbash__" ]; then
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
if readlink /bin/sh | grep -q bash; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
exec /bin/bash $0 "__vbash__" "$@"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
OLDDIR=$(pwd)
|
OLDDIR=$(pwd)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user