aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-key-list
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-ipfs-key-list')
-rwxr-xr-xbin/ak-ipfs-key-list6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/ak-ipfs-key-list b/bin/ak-ipfs-key-list
index 7ebdb15..1106b40 100755
--- a/bin/ak-ipfs-key-list
+++ b/bin/ak-ipfs-key-list
@@ -1,2 +1,8 @@
#!/bin/bash
+PROGRAM="$(basename $0)"
ipfs key list
+if [ "$?" != "0" ]
+then
+ ak-logthis "<$PROGRAM>" "[ERROR]" "Failed to get key list"
+ exit 1
+fi