aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-05-16 10:25:59 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-05-20 08:25:42 -0700
commitb3133d1cadec0540105a855b1fd2eb741d4eec9d (patch)
treed00e7a402ff3c5c323e4e89654fa8904cb0891d8 /src/or/control.h
parent0caa37db4df76fc50af48a107a14e4f139b7fa55 (diff)
downloadtor-b3133d1cadec0540105a855b1fd2eb741d4eec9d.tar.gz
tor-b3133d1cadec0540105a855b1fd2eb741d4eec9d.zip
Exit immediately if we can't monitor our owning controller process
tor_process_monitor_new can't currently return NULL, but if it ever can, we want that to be an explicitly fatal error, without relying on the fact that monitor_owning_controller_process's chain of caller will exit if it fails.
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 81c23010d2..a83e3747e6 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -70,7 +70,7 @@ smartlist_t *decode_hashed_passwords(config_line_t *passwords);
void disable_control_logging(void);
void enable_control_logging(void);
-int monitor_owning_controller_process(const char *process_spec);
+void monitor_owning_controller_process(const char *process_spec);
void control_event_bootstrap(bootstrap_status_t status, int progress);
void control_event_bootstrap_problem(const char *warn, int reason);