Skip to content

Commit f916890

Browse files
remote-init: add debug logging for symlinks
1 parent 22e11f1 commit f916890

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cylc/flow/task_remote_cmd.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ def remote_init(install_target: str, rund: str, *dirs_to_symlink: str) -> None:
105105
print(f'Error occurred when symlinking.'
106106
f' {target} contains an invalid environment variable.')
107107
return
108+
if cylc.flow.flags.verbosity > 1:
109+
print(f'$ ln -s "{target}" "{path}"')
108110
make_symlink_dir(path, target)
109111
srvd = os.path.join(rund, WorkflowFiles.Service.DIRNAME)
110112
os.makedirs(srvd, exist_ok=True)

0 commit comments

Comments
 (0)