Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
36c21a21
Commit
36c21a21
authored
Aug 23, 2022
by
longpanda
Browse files
Always use /bin/bash to launch VentoyPlugson.sh (#1809)
parent
13eb9829
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
INSTALL/VentoyPlugson.sh
INSTALL/VentoyPlugson.sh
+9
-0
No files found.
INSTALL/VentoyPlugson.sh
View file @
36c21a21
...
...
@@ -17,6 +17,15 @@ if [ $uid -ne 0 ]; then
exit
1
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment