mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
8 lines
193 B
Bash
8 lines
193 B
Bash
|
#!/usr/bin/env bash
|
||
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||
|
set -eux
|
||
|
set -o pipefail
|
||
|
|
||
|
SYSTEMD_IN_CHROOT=1 systemd-detect-virt --chroot
|
||
|
(! SYSTEMD_IN_CHROOT=0 systemd-detect-virt --chroot)
|