Skip to content

Commit 5ac6db3

Browse files
committed
Use symlink to link snet-daemon executable file
1 parent cc4ebc0 commit 5ac6db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func linkFile(fileFrom string, fileTo string) error {
8484
return nil
8585
}
8686

87-
return os.Link(fileFrom, fileTo)
87+
return os.Symlink(fileFrom, fileTo)
8888
}
8989

9090
func runCommand(execCommad ExecCommand) error {

0 commit comments

Comments
 (0)