Whamcloud - gitweb
e2fsck: parse config file before command-line opts
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 12 Apr 2012 23:24:55 +0000 (17:24 -0600)
committerLi Dongyang <dongyangli@ddn.com>
Fri, 24 May 2024 11:03:20 +0000 (21:03 +1000)
commitea60d7ccc30a6ec5d35bb474b7994c831706e9ad
treefac4cef376532444e2597ea5197d856d30a9c41c
parent586d820e3c928b28feaacb3a08b5be05d8a782f8
e2fsck: parse config file before command-line opts

The patch changes the order that the config file and command line
are parsed so that command line has precedence.  It also parses
the -E option for every occurrence, otherwise the -E option is
not cumulative.

Signed-off-by: Jim Garlick <garlick@llnl.gov>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
e2fsck/unix.c