- mention FIXME use find_mount_point()
This commit is contained in:
parent
3576bed2f9
commit
cb83abd7b6
@ -378,7 +378,7 @@ static void check_mount(void)
|
|||||||
struct mntent *mnt;
|
struct mntent *mnt;
|
||||||
int cont;
|
int cont;
|
||||||
int fd;
|
int fd;
|
||||||
|
//XXX:FIXME use find_mount_point()
|
||||||
f = setmntent(MOUNTED, "r");
|
f = setmntent(MOUNTED, "r");
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
return;
|
return;
|
||||||
@ -405,7 +405,7 @@ static void check_mount(void)
|
|||||||
cont = ask("Do you really want to continue", 0);
|
cont = ask("Do you really want to continue", 0);
|
||||||
if (!cont) {
|
if (!cont) {
|
||||||
printf("Check aborted\n");
|
printf("Check aborted\n");
|
||||||
exit(0);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user