summaryrefslogtreecommitdiffstats
path: root/fish/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/rc.c')
-rw-r--r--fish/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/rc.c b/fish/rc.c
index e637fc6c..2d2f2277 100644
--- a/fish/rc.c
+++ b/fish/rc.c
@@ -198,7 +198,7 @@ rc_listen (void)
if (pid > 0) {
/* Parent process. */
- printf ("export GUESTFISH_PID=%d\n", pid);
+ printf ("GUESTFISH_PID=%d; export GUESTFISH_PID\n", pid);
fflush (stdout);
_exit (0);
}