Commit 36c21a21 authored by longpanda's avatar longpanda
Browse files

Always use /bin/bash to launch VentoyPlugson.sh (#1809)

parent 13eb9829
...@@ -17,6 +17,15 @@ if [ $uid -ne 0 ]; then ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment