summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ext4magic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext4magic.c b/src/ext4magic.c
index c6918f1..b747941 100644
--- a/src/ext4magic.c
+++ b/src/ext4magic.c
@@ -601,7 +601,7 @@ while ((c = getopt (argc, argv, "TJRMLlmrQSxi:t:j:f:Vd:B:b:a:I:H")) != EOF) {
//--------------------------------------------------------------------------------------------
// check any parameter an options
// check time option
-if (magicscan){
+if (mode && magicscan){
printf("Warning: Activate magic scan function, may be some command line options ignored\n");
mode &= MASK_MAGIC_SCAN;
inode_nr = EXT2_ROOT_INO;