diff --git a/docs/changelog.rst b/docs/changelog.rst index 328b807b6..065afb1f3 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -35,6 +35,11 @@ mouse anywhere in the current command to move the cursor there. See Detailed list of changes ------------------------------------- +0.28.1 [future] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Fix a regression in the previous release that broke the remote file kitten (:iss:`6186`) + 0.28.0 [2023-04-15] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/launcher/main.c b/kitty/launcher/main.c index 8d2956a83..2c067d1de 100644 --- a/kitty/launcher/main.c +++ b/kitty/launcher/main.c @@ -332,7 +332,7 @@ exec_kitten(int argc, char *argv[], char *exe_dir) { newargv[argc] = 0; newargv[0] = "kitten"; errno = 0; - execv(exe, argv); + execv(exe, newargv); fprintf(stderr, "Failed to execute kitten (%s) with error: %s\n", exe, strerror(errno)); exit(1); }