We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf99f6 commit ca4fa9fCopy full SHA for ca4fa9f
rootfs/run.sh
@@ -8,11 +8,11 @@ if [ ! -s /netbox-scanner/networks.txt ]; then
8
exit 1
9
fi >&2
10
11
-echo '4de64ad74607f128bdb5873497a9d85d27e52c0a96dc994016488d050a55dd6c /root/.netbox-scanner.conf' | sha256sum -c &> /dev/null && {
+if echo '4de64ad74607f128bdb5873497a9d85d27e52c0a96dc994016488d050a55dd6c /root/.netbox-scanner.conf' | sha256sum --check --status; then
12
echo "Error: You have to configure at least ADDRESS and TOKEN in 'netbox-scanner.conf'."
13
echo
14
15
-} >&2
+fi >&2
16
17
cd /netbox-scanner
18
0 commit comments