X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmountd.git;a=blobdiff_plain;f=mount.c;h=aa346fff96abac9da6da8766e3f4767ab06e505b;hp=f196791b821f9edfcadf6cac5a2d162f0f99c696;hb=a27ea3ff91a2f84c6160441689d2df9d2dce1fc1;hpb=bf7cc330196d76786a25da3a67b9c1e94b1126ea diff --git a/mount.c b/mount.c index f196791..aa346ff 100644 --- a/mount.c +++ b/mount.c @@ -591,8 +591,6 @@ static void mount_dev_del(struct mount *mount) log_printf("device %s has disappeared ... unmounting %s\n", mount->dev, tmp); system_printf("/bin/umount %s", tmp); rmdir(tmp); - snprintf(tmp, 64, "%s%s", uci_path, mount->name); - unlink(tmp); mount_dump_uci_state(); } }