diff options
-rw-r--r-- | tools/glusterfind/src/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/glusterfind/src/main.py b/tools/glusterfind/src/main.py index 81bddf55899..17043dca213 100644 --- a/tools/glusterfind/src/main.py +++ b/tools/glusterfind/src/main.py @@ -453,6 +453,9 @@ def mode_list(session_dir, args): volname.ljust(25), human_time(last_processed).ljust(25))) + if not output and (args.session or args.volume): + fail("Invalid Session", logger=logger) + def main(): args = _get_args() |