mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-09-18 09:31:57 +00:00
Fix pushd error
This commit is contained in:
parent
6f722b3506
commit
a64c488bb7
@ -138,7 +138,7 @@ func ExecuteScripts(scriptDirectory string) {
|
|||||||
scanner.Scan()
|
scanner.Scan()
|
||||||
shebang := scanner.Text()
|
shebang := scanner.Text()
|
||||||
|
|
||||||
interpreter := "/bin/sh"
|
interpreter := "/bin/bash"
|
||||||
if strings.HasPrefix(shebang, "#!") {
|
if strings.HasPrefix(shebang, "#!") {
|
||||||
interpreter = shebang[2:]
|
interpreter = shebang[2:]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user