Some update
This commit is contained in:
1 parent
7a9283feca
commit
844046a1f5
1 file changed
+1
-1
+1
-1
@@ -133,7 +133,7 @@ fi
|
|||||||
|
|
||||||
# Encode the API token
|
# Encode the API token
|
||||||
token_file="$install_dir/.abuseipdb_token"
|
token_file="$install_dir/.abuseipdb_token"
|
||||||
echo "INFO: Encoding data..."
|
echo "INFO: Encoding data (file $token_file)..."
|
||||||
if ! echo -n "$api_key" | openssl enc -base64 | sudo tee "$token_file" >/dev/null; then
|
if ! echo -n "$api_key" | openssl enc -base64 | sudo tee "$token_file" >/dev/null; then
|
||||||
echo "ERROR: Something went wrong. Failed to encode API token."
|
echo "ERROR: Something went wrong. Failed to encode API token."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in new issue
Block a user