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, 28 Apr 2023 00:48:33 +0000 (10:48 +1000)
commit4ae9938e9f40ae7384d3d30151542571b1705ce8
treebd31b953952623940cdf0302f1ede3fc3e9f0615
parent4b2752258d78b9b83fa6dfd24f3dba0c96e4a912
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