mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Spell "cmp > /dev/null" as "cmp -s".
Suggested by: dougb
This commit is contained in:
parent
723c596167
commit
24a3ff142f
1 changed files with 1 additions and 1 deletions
|
|
@ -808,7 +808,7 @@ update_run() {
|
|||
fi
|
||||
|
||||
if sort ${WORKDIR}/INDEX |
|
||||
cmp ${PORTSDIR}/.portsnap.INDEX - >/dev/null; then
|
||||
cmp -s ${PORTSDIR}/.portsnap.INDEX -; then
|
||||
echo "Ports tree is already up to date."
|
||||
return 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue