...
This commit is contained in:
parent
537cabca71
commit
b7c3946f8f
@ -33,7 +33,7 @@ func confirm_and_run_shebang(args []string) (rc int, err error) {
|
|||||||
return 1, err
|
return 1, err
|
||||||
}
|
}
|
||||||
if !allowed {
|
if !allowed {
|
||||||
return 1, fmt.Errorf("Execution permission refused by user")
|
return 1, fmt.Errorf("Execution of %s was denied by user", script_path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exe := utils.FindExe(args[0])
|
exe := utils.FindExe(args[0])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user