diff --git a/xvolkeys/xvolkeys.c b/xvolkeys/xvolkeys.c index e5ea7e5..810539c 100644 --- a/xvolkeys/xvolkeys.c +++ b/xvolkeys/xvolkeys.c @@ -81,7 +81,7 @@ int midi_connect(void) { if (hdl != NULL) - return; + return 1; hdl = mio_open(port, MIO_IN | MIO_OUT, 0); if (hdl == NULL) { if (verbose)