summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrobi <robi>2010-10-03 20:56:55 +0000
committerrobi <robi>2010-10-03 20:56:55 +0000
commit7ed837284821115513e845fd40c306db903fc4eb (patch)
tree237da022013253a619e878a1c3dc608604deca29 /src
parent3fabcbb3dccfce2f7483be8ef890e181e865928e (diff)
stuff
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;