diff options
-rwxr-xr-x | ngxtop/ngxtop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ngxtop/ngxtop.py b/ngxtop/ngxtop.py index 9820de8..afb5bc3 100755 --- a/ngxtop/ngxtop.py +++ b/ngxtop/ngxtop.py @@ -353,7 +353,7 @@ def process(arguments): logging.info('access_log: %s', access_log) logging.info('log_format: %s', log_format) - if not os.path.exists(access_log): + if access_log != 'stdin' and not os.path.exists(access_log): error_exit('access log file "%s" does not exist' % access_log) if arguments['info']: |