diff options
author | "Vladimir N. Oleynik" | 2005-11-26 11:01:23 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-11-26 11:01:23 +0000 |
commit | 350865e33979bdd2a5005939c214fb3d9f4bbc9d (patch) | |
tree | 3d0e96bc755a206854eb7e979e76372f0232a97b /e2fsprogs/fsck.c | |
parent | cc34344d91cea789edde507bf85714af11daea71 (diff) | |
download | busybox-350865e33979bdd2a5005939c214fb3d9f4bbc9d.zip busybox-350865e33979bdd2a5005939c214fb3d9f4bbc9d.tar.gz |
remove bug: fsck do not know path
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r-- | e2fsprogs/fsck.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 7f7ab3e..848d559 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -1361,7 +1361,7 @@ int fsck_main(int argc, char *argv[]) fstab = _PATH_MNTTAB; load_fs_info(fstab); - e2fs_set_sbin_path(); + fsck_path = e2fs_set_sbin_path(); if ((num_devices == 1) || (serialize)) interactive = 1; @@ -1405,8 +1405,6 @@ int fsck_main(int argc, char *argv[]) } } status |= wait_many(FLAG_WAIT_ALL); - if (ENABLE_FEATURE_CLEAN_UP) - free(fsck_path); blkid_put_cache(cache); return status; } |