diff --git a/lib/notify.c b/lib/notify.c index 4c98bf1e96..b6f9df1dc7 100644 --- a/lib/notify.c +++ b/lib/notify.c @@ -712,7 +712,7 @@ clean_path(const char *old_argv) slash = strchr(ip, '/'); if (!slash) - strcpy(op, slash); + strcpy(op, ip); else if (slash > ip) { strncpy(op, ip, slash - ip); op += slash - ip;