aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pacman-offline2
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