We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9fe9b9 commit 1164dfcCopy full SHA for 1164dfc
lib/runners/cloud-hypervisor.nix
@@ -107,7 +107,7 @@ in {
107
rm -f notify.vsock notify.vsock_8888
108
109
# Start socat to forward systemd notify socket over vsock
110
- if [ -n "$NOTIFY_SOCKET" ]; then
+ if [ -n "''${NOTIFY_SOCKET:-}" ]; then
111
# -T2 is required because cloud-hypervisor does not handle partial
112
# shutdown of the stream, like systemd v256+ does.
113
${pkgs.socat}/bin/socat -T2 UNIX-LISTEN:notify.vsock_8888,fork UNIX-SENDTO:$NOTIFY_SOCKET &
0 commit comments