Skip to content

Commit 39e893f

Browse files
chore: add name of inventory script when echoing
Makes it more verbose and explicit where the log is comming from: `Jul 30 11:01:43 qemux86-64 mender-update[53221]: mender-inventory-mender-configure: An authentication token could not be obtained over DBus` instead of `Jul 30 11:01:43 qemux86-64 mender-update[53221]: An authentication token could not be obtained over DBus` Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>
1 parent fd083d3 commit 39e893f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mender-inventory-mender-configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ AUTH_TOKEN="$(echo "$DBUS_REPLY" | sed -ne '1p')"
4242
SERVER="$(echo "$DBUS_REPLY" | sed -ne '2p')"
4343

4444
if [ -z "$AUTH_TOKEN" ]; then
45-
echo "An authentication token could not be obtained over DBus."
45+
echo "mender-inventory-mender-configure: An authentication token could not be obtained over DBus."
4646
exit 1
4747
fi
4848
if [ -z "$SERVER" ]; then
49-
echo "A server address could not be obtained over DBus."
49+
echo "mender-inventory-mender-configure: A server address could not be obtained over DBus."
5050
exit 1
5151
fi
5252

0 commit comments

Comments
 (0)