Skip to content

Commit 2b93a1f

Browse files
committed
fix: remove warning about missing hostname command
Partly revert e9bd424. The warning about missing `hostname` command is causing issues and breaks `get_dependencies` call. Signed-off-by: Christian Heimes <[email protected]>
1 parent b3a547f commit 2b93a1f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/fromager/run_network_isolation.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ fi
3232
# set hostname to "localhost"
3333
if command -v hostname 2>&1 >/dev/null; then
3434
hostname localhost
35-
else
36-
echo "'hostname' command is missing, cannot set host name to 'localhost' for $@" >&2
3735
fi
3836

3937
# replace with command

0 commit comments

Comments
 (0)