Skip to content

Commit

Permalink
Revert "update ioc_start.py - use abspath for symlink"
Browse files Browse the repository at this point in the history
This reverts commit 4ac2892.
  • Loading branch information
Defenso-QTH committed Sep 27, 2024
1 parent 4ac2892 commit 7e3d28d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions iocage_lib/ioc_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,7 @@ def __start_jail__(self):
os_path = f"{self.path}/root/dev/log"

if not os.path.isfile(os_path) and not os.path.islink(os_path):
os.symlink(
os.path.abspath(os.path.join(os_path, "../var/run/log")),
os_path
)
os.symlink("../var/run/log", os_path)

vnet_err = self.start_network(vnet, nat)

Expand Down

0 comments on commit 7e3d28d

Please sign in to comment.