aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-ipfs-key-gen
blob: 0ef5fe87304db5f0b68fa1933241a7a20aadb6ca (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
PROGRAM="$(basename $0)"
ipfs key gen "$1"
if [ "$?" != "0" ]
then
    ak-logthis "$PROGRAM" "ERROR" "Failed to generate key $1"
    exit 1
fi