From b7c3946f8f01932da464f5af3970c9910debf2e2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 7 May 2023 08:13:57 +0530 Subject: [PATCH] ... --- tools/cmd/tool/confirm_and_run_shebang.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmd/tool/confirm_and_run_shebang.go b/tools/cmd/tool/confirm_and_run_shebang.go index d938c2b07..311e8fb7a 100644 --- a/tools/cmd/tool/confirm_and_run_shebang.go +++ b/tools/cmd/tool/confirm_and_run_shebang.go @@ -33,7 +33,7 @@ func confirm_and_run_shebang(args []string) (rc int, err error) { return 1, err } 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])