summaryrefslogtreecommitdiff
path: root/tools/dbus-launch.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-02-10 21:28:52 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-02-10 21:28:52 +0000
commit8fcc91bf0be7401d4ec0102d5b137126c1cb9cbd (patch)
treeb9a6c65980a8c6419daa1565ca8aab1e9aada29a /tools/dbus-launch.c
parentd7580d7bd623e15367cb70c6c28e6daf4dd11e6c (diff)
downloaddbus-8fcc91bf0be7401d4ec0102d5b137126c1cb9cbd.tar.gz
2006-02-10 John (J5) Palmieri <johnp@redhat.com>
* tools/dbus-launch.c: Fixed csh syntax output (Bug #5720)
Diffstat (limited to 'tools/dbus-launch.c')
-rw-r--r--tools/dbus-launch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index beb298c1..92878278 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -884,7 +884,7 @@ main (int argc, char **argv)
else
{
if (c_shell_syntax)
- printf ("setenv DBUS_SESSION_BUS_ADDRESS '%s'\n", bus_address);
+ printf ("setenv DBUS_SESSION_BUS_ADDRESS '%s';\n", bus_address);
else
{
printf ("DBUS_SESSION_BUS_ADDRESS='%s'\n", bus_address);
@@ -892,7 +892,7 @@ main (int argc, char **argv)
printf ("export DBUS_SESSION_BUS_ADDRESS\n");
}
if (c_shell_syntax)
- printf ("set DBUS_SESSION_BUS_PID=%ld\n", (long) bus_pid);
+ printf ("set DBUS_SESSION_BUS_PID=%ld;\n", (long) bus_pid);
else
printf ("DBUS_SESSION_BUS_PID=%ld\n", (long) bus_pid);
}