Skip to content

Commit

Permalink
Merge 743508e into e786484
Browse files Browse the repository at this point in the history
  • Loading branch information
Corion committed Apr 18, 2021
2 parents e786484 + 743508e commit 6664b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/unix_fds.pl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
my $recv_name = $dbus->get_unique_bus_name();

my $pid = fork or do {
my $dbus = my $dbus = $> ? Protocol::DBus::Client::login_session() ? Protocol::DBus::Client::system();
my $dbus = $> ? Protocol::DBus::Client::login_session() : Protocol::DBus::Client::system();

$dbus->initialize();

Expand Down
2 changes: 2 additions & 0 deletions lib/Protocol/DBus/Client.pm
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ sub init_pending_send {
Boolean that indicates whether this client supports UNIX FD passing.
This won't work unless you have loaded L<Socket::MsgHdr> in your code.
=cut

sub supports_unix_fd {
Expand Down

0 comments on commit 6664b6b

Please sign in to comment.