scripts/filesize.sh: rm 2>&1 on command -v
This commit is contained in:
parent
cf136e2a89
commit
d4189ea169
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
check_command() {
|
check_command() {
|
||||||
command -v "$1" >/dev/null 2>&1
|
command -v "$1" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
if check_command gnustat; then
|
if check_command gnustat; then
|
||||||
|
Loading…
Reference in New Issue
Block a user