Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-04-10 17:03:37 +0300
committernachoparker <nacho@ownyourbits.com>2018-04-10 17:04:18 +0300
commitc9bdf0221abe1f353dca2d149550d2a080d0b83e (patch)
tree994486b6f59eb99a9fe2756065f0e0025e03e080 /bin/ncp-test-updates
parentd52edc9a8e7226174ce87dbba94eaa2bfcce581d (diff)
ncp-config: silence file not yet present warning
Diffstat (limited to 'bin/ncp-test-updates')
-rwxr-xr-xbin/ncp-test-updates2
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