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
pull/156/head
Benjamin Slade
4 years ago
parent
f7c70e5440
commit
376b29b22f
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