[Pkg-privacy-commits] [nautilus-wipe] 05/224: Don't forged to stop watching on error.
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 19:45:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository nautilus-wipe.
commit 2a0bd8b926f65f307486fa29b886ca86a5a9521b
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Sun Sep 27 23:51:26 2009 +0200
Don't forged to stop watching on error.
---
nautilus-srm/nautilus-srm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nautilus-srm/nautilus-srm.c b/nautilus-srm/nautilus-srm.c
index 0ac8b2e..db299d2 100644
--- a/nautilus-srm/nautilus-srm.c
+++ b/nautilus-srm/nautilus-srm.c
@@ -443,7 +443,7 @@ static gboolean
wait_srm_child (gpointer data)
{
SrmChildInfo *child_info = data;
- gboolean finished = FALSE;
+ gboolean finished = TRUE;
gboolean success = FALSE;
int exit_status;
pid_t wait_rv;
@@ -460,8 +460,8 @@ wait_srm_child (gpointer data)
} else if (G_LIKELY (wait_rv == 0)) {
/* nothing to do, just wait until next call */
gtk_progress_bar_pulse (child_info->progress_dialog->progress_bar);
+ finished = FALSE;
} else {
- finished = TRUE;
if (WIFEXITED (exit_status) && WEXITSTATUS (exit_status) == 0) {
success = TRUE;
g_message ("Subprocess succeed.");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git
More information about the Pkg-privacy-commits
mailing list