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>
Wed, 14 Apr 2021 05:18:40 +0000 (15:18 +1000)
commitbd14945bb0efa2e4a05b5790c08dd860bc58be2b
tree698169db8849a8a06125ac5308fc087b8d50606a
parent6282cca3cc3787ca61fe166c3ef9b1e768f7a3f4
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