This commit is contained in:
Kovid Goyal 2023-05-07 08:13:57 +05:30
parent 537cabca71
commit b7c3946f8f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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])