diff --git a/src/nohup/nohup.v b/src/nohup/nohup.v index 47805823..d2cb584d 100644 --- a/src/nohup/nohup.v +++ b/src/nohup/nohup.v @@ -2,7 +2,7 @@ import os import common const tool_name = 'nohup' -const out_files = ['nohup.out', '${os.getenv_opt('HOME')!}/nohup.out'] +const out_files = ['nohup.out', '${os.getenv_opt('HOME')?}/nohup.out'] fn open_nohup_out(mut f os.File, print_message bool) ! { for file in out_files {