summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-02-13 21:01:32 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-02-13 21:01:32 +0000
commitfd3cad56a1400e4ac0ad07618a1605183a4832ac (patch)
tree792c3ffe5aebe0068a821d1bd4ed3c1d9c227e29
parentd76fe42fd537fc13e11c6dcd72aebf2a1ba8f53d (diff)
2006-02-13 John (J5) Palmieri <johnp@redhat.com>
* tools/dbus-launch.c: Fixed sh syntax output
-rw-r--r--tools/dbus-launch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index 9287827..477a077 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -887,14 +887,14 @@ main (int argc, char **argv)
printf ("setenv DBUS_SESSION_BUS_ADDRESS '%s';\n", bus_address);
else
{
- printf ("DBUS_SESSION_BUS_ADDRESS='%s'\n", bus_address);
+ printf ("DBUS_SESSION_BUS_ADDRESS='%s';\n", bus_address);
if (bourne_shell_syntax)
- printf ("export DBUS_SESSION_BUS_ADDRESS\n");
+ printf ("export DBUS_SESSION_BUS_ADDRESS;\n");
}
if (c_shell_syntax)
printf ("set DBUS_SESSION_BUS_PID=%ld;\n", (long) bus_pid);
else
- printf ("DBUS_SESSION_BUS_PID=%ld\n", (long) bus_pid);
+ printf ("DBUS_SESSION_BUS_PID=%ld;\n", (long) bus_pid);
}
verbose ("dbus-launch exiting\n");