This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
lc-coreboot
Watch
1
Star
0
Fork
0
Code
Releases
28
Wiki
Activity
Browse Source
make systemctl check quieter
- don't output path to systemctl to stout
funding1
Benjamin Slade
4 years ago
committed by
Martin Kepplinger
parent
f7c70e5440
commit
31ebfb3a8a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
util/functions.sh
+ 1
- 1
util/functions.sh
View File
@ -59,7 +59,7 @@ warn_not_root() {
}
poweroff
(
)
{
if
command
-v systemctl 2>/dev/null
;
then
if
[
"
$(
command
-v systemctl 2>/dev/null
2>
&
1
)
"
]
;
then
systemctl poweroff
else
shutdown -P now
Write
Preview
Loading…
Cancel
Save