Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
7edc6469
Commit
7edc6469
authored
Mar 16, 2012
by
Tails developers
Browse files
Wait with showing notification until notification-daemon is up.
Waiting on gnome-panel may be prone to race conditions.
parent
2590e359
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/local/bin/tails-htp-notify-user
View file @
7edc6469
...
...
@@ -58,8 +58,8 @@ my $notification = $notify->create(summary => $summary,
or
die
"
Failed to create notification object
";
debug
('
$notification:
'
.
"
\n
"
.
Dumper
(
$notification
));
#
Make sure Gnome has started so the
notification can be shown
until
(
system
("
pidof
",
"
g
no
me-panel
")
==
0
)
{
#
Wait until
notification
s
can be shown
until
(
system
("
pidof
",
"
no
tification-daemon
")
==
0
)
{
sleep
1
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment