summaryrefslogtreecommitdiff
path: root/src/progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progress.c')
-rw-r--r--src/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progress.c b/src/progress.c
index 3cc4bd9..5804e88 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -228,7 +228,7 @@ zenity_progress_dialog_response (GtkWidget *widget, int response, gpointer data)
* I'm pretty sure there is a nice way to do this, but I'm clueless about this
* stuff. Should be using SIGHUP instead of 1 though.
*/
- kill (getpid (), 1);
+ kill (getppid (), 1);
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL);
gtk_main_quit ();
break;