diff options
author | NeilBrown <neilb@suse.de> | 2008-09-18 08:43:59 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-09-18 08:43:59 +0200 |
commit | 577527957206eafdfe78bd607abed5eafa09c130 (patch) | |
tree | 76da80cc62ef94607f6dd985cd5029029ad4ca34 /mdmon.c | |
parent | Add support for assembling specific subarrays. (diff) | |
download | mdadm-577527957206eafdfe78bd607abed5eafa09c130.tar.xz mdadm-577527957206eafdfe78bd607abed5eafa09c130.zip |
Remove .sock file when removing .pid file for mdmon
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -136,6 +136,8 @@ void remove_pidfile(char *devname) sprintf(buf, "/var/run/mdadm/%s.pid", devname); unlink(buf); + sprintf(buf, "/var/run/mdadm/%s.sock", devname); + unlink(buf); } int make_control_sock(char *devname) |