summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-auth-script.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-auth-script.c')
-rw-r--r--dbus/dbus-auth-script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-auth-script.c b/dbus/dbus-auth-script.c
index eb145e49..225569fc 100644
--- a/dbus/dbus-auth-script.c
+++ b/dbus/dbus-auth-script.c
@@ -522,7 +522,7 @@ _dbus_auth_script_run (const DBusString *filename)
goto out;
}
- if (!_dbus_username_from_current_process (&u) ||
+ if (!_dbus_append_desired_identity (&u) ||
!_dbus_string_copy (u, 0, &username,
_dbus_string_get_length (&username)))
{