summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpd-notification.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 031cbe7..7144401 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -54,6 +54,10 @@ int main(int argc, char ** argv) {
# endif
")\n", program, PROGNAME, VERSION);
+# if DEBUG
+ printf("%s: Started with PID %d\n", program, getpid());
+# endif
+
conn = mpd_connection_new(NULL, 0, 30000);
if (mpd_connection_get_error(conn) != MPD_ERROR_SUCCESS) {