[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: guix-install.sh: Fix ‘systemctl not found’ error message at probe
From: |
guix-commits |
Subject: |
07/07: guix-install.sh: Fix ‘systemctl not found’ error message at probe. |
Date: |
Sat, 23 May 2020 09:39:18 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit dc1aede30a63d60708ca98e92724dc14a262b0ec
Author: Vincent Legoll <address@hidden>
AuthorDate: Sun May 17 19:17:00 2020 +0200
guix-install.sh: Fix ‘systemctl not found’ error message at probe.
* etc/guix-install.sh (chk_init_sys): Redirect systemctl errors to
/dev/null.
Signed-off-by: Tobias Geerinckx-Rice <address@hidden>
---
etc/guix-install.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 4d457e7..bf15aed 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -142,7 +142,7 @@ chk_init_sys()
_msg "${INF}init system is: upstart"
INIT_SYS="upstart"
return 0
- elif [[ $(systemctl) =~ -\.mount ]]; then
+ elif [[ $(systemctl 2>/dev/null) =~ -\.mount ]]; then
_msg "${INF}init system is: systemd"
INIT_SYS="systemd"
return 0
- branch master updated (22070ad -> dc1aede), guix-commits, 2020/05/23
- 01/07: gnu: inxi: Update to 3.1.00-1., guix-commits, 2020/05/23
- 05/07: build: Add a comment above the sysvinit section., guix-commits, 2020/05/23
- 02/07: gnu: polybar: Update to 3.4.3., guix-commits, 2020/05/23
- 03/07: gnu: qtractor: Update to 0.9.14., guix-commits, 2020/05/23
- 06/07: guix-install.sh: Add xz to requirements., guix-commits, 2020/05/23
- 07/07: guix-install.sh: Fix ‘systemctl not found’ error message at probe.,
guix-commits <=
- 04/07: gnu: spice-protocol: Update to 0.14.2., guix-commits, 2020/05/23