diff --git a/qubes-rpc/prepare-suspend b/qubes-rpc/prepare-suspend index 6167bc02f..9db5d9b54 100755 --- a/qubes-rpc/prepare-suspend +++ b/qubes-rpc/prepare-suspend @@ -29,6 +29,9 @@ if [ "$action" = "suspend" ]; then if [ "$intf" = "lo" ] || [[ "$intf" = "vif"* ]]; then continue fi + if ! [ -e "/sys/class/net/$intf/device" ]; then + continue + fi if [ "$(cat "/sys/class/net/$intf/device/devtype" 2>/dev/null)" = "vif" ]; then continue fi