diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-22 22:48:41 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-22 22:48:41 +0300 |
commit | 3bb8cadcca199929d72792d92f2ac55d5ffbf176 (patch) | |
tree | fa11851741bed55b9c7e89f0ec9a2cb18ad77985 /bin/ncp-diag | |
parent | bba3d818e72f927854afbcc383dfc6588e2b6a55 (diff) |
nc-info: check for existance of ncp-baseimagev0.53.32
Diffstat (limited to 'bin/ncp-diag')
-rw-r--r-- | bin/ncp-diag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-diag b/bin/ncp-diag index 77acd58b..1561ae63 100644 --- a/bin/ncp-diag +++ b/bin/ncp-diag @@ -13,7 +13,7 @@ # Distro, NCP version and tag echo "NextCloudPlus version|$( cat /usr/local/etc/ncp-version )" -echo "NextCloudPlus image|$( cat /usr/local/etc/ncp-baseimage )" +[[ -f /usr/local/etc/ncp-baseimage ]] && echo "NextCloudPlus image|$( cat /usr/local/etc/ncp-baseimage )" echo "distribution|$( cat /etc/issue )" # Data |