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