diff options
author | Christian Hesse <mail@eworm.de> | 2024-09-13 17:11:35 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-09-13 17:11:35 +0200 |
commit | 0aa45b3799a5379f9c7097c4b1a52a6ccbb0737b (patch) | |
tree | 156527b364b171430b5e3f44df8f70fa78db7b64 /bin | |
parent | b07a25fa91dfa9ad07de6e6698c1a15b03ef4a65 (diff) | |
download | pacman-offline-0aa45b3799a5379f9c7097c4b1a52a6ccbb0737b.tar.gz pacman-offline-0aa45b3799a5379f9c7097c4b1a52a6ccbb0737b.tar.zst |
discard stderr from systemd-detect-virt
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pacman-offline | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline index 3d218f9..cb46cb4 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -41,7 +41,7 @@ while getopts 'acfhprty' opt; do esac done -if systemd-detect-virt --chroot; then +if systemd-detect-virt --chroot 2>/dev/null; then echo 'Running in chroot, skipping.' >&2 exit 0 fi |