diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-10 17:03:37 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-10 17:04:18 +0300 |
commit | c9bdf0221abe1f353dca2d149550d2a080d0b83e (patch) | |
tree | 994486b6f59eb99a9fe2756065f0e0025e03e080 /bin/ncp-test-updates | |
parent | d52edc9a8e7226174ce87dbba94eaa2bfcce581d (diff) |
ncp-config: silence file not yet present warning
Diffstat (limited to 'bin/ncp-test-updates')
-rwxr-xr-x | bin/ncp-test-updates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-test-updates b/bin/ncp-test-updates index e439a55e..90215d71 100755 --- a/bin/ncp-test-updates +++ b/bin/ncp-test-updates @@ -5,7 +5,7 @@ NEED_UPDATE=false VERFILE=/var/run/.ncp-latest-version -[[ $( cat $VERFILE | wc -c ) -eq 0 ]] && ncp-check-version +[[ $( cat $VERFILE 2>/dev/null | wc -c ) -eq 0 ]] && ncp-check-version if grep -qP "v\d+\.\d+\.\d+" $VERFILE; then |