- 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;
|
||||
int cont;
|
||||
int fd;
|
||||
|
||||
//XXX:FIXME use find_mount_point()
|
||||
f = setmntent(MOUNTED, "r");
|
||||
if (f == NULL)
|
||||
return;
|
||||
@ -405,7 +405,7 @@ static void check_mount(void)
|
||||
cont = ask("Do you really want to continue", 0);
|
||||
if (!cont) {
|
||||
printf("Check aborted\n");
|
||||
exit(0);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user