Fix a regression in the previous release that broke the remote file kitten
Fixes #6186
This commit is contained in:
parent
12efff6d08
commit
39eff0fe8c
@ -35,6 +35,11 @@ mouse anywhere in the current command to move the cursor there. See
|
|||||||
Detailed list of changes
|
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]
|
0.28.0 [2023-04-15]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@ -332,7 +332,7 @@ exec_kitten(int argc, char *argv[], char *exe_dir) {
|
|||||||
newargv[argc] = 0;
|
newargv[argc] = 0;
|
||||||
newargv[0] = "kitten";
|
newargv[0] = "kitten";
|
||||||
errno = 0;
|
errno = 0;
|
||||||
execv(exe, argv);
|
execv(exe, newargv);
|
||||||
fprintf(stderr, "Failed to execute kitten (%s) with error: %s\n", exe, strerror(errno));
|
fprintf(stderr, "Failed to execute kitten (%s) with error: %s\n", exe, strerror(errno));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user