Skip to content

Commit 5ceba30

Browse files
committed
fix bug where 'tmuxp load .' would return an error instead of a notice
1 parent 5b7aae5 commit 5ceba30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmuxp/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def command_load(args):
380380
if config.in_cwd():
381381
configfile = config.in_cwd()[0]
382382
else:
383-
print('No tmuxp configs found in current directory.')
383+
sys.exit('No tmuxp configs found in current directory.')
384384
else:
385385
configfile = args.config
386386
file_user = os.path.join(config_dir, configfile)

0 commit comments

Comments
 (0)