From 51ff0f51172c8ec2aaba0b9b945428c65eda7911 Mon Sep 17 00:00:00 2001 From: Jeremy Brubaker Date: Fri, 3 Jun 2022 15:26:17 -0400 Subject: Print proper error messages User cancellation and improper 'GETINFO' commands now print the correct error messages --- anypinentry | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anypinentry b/anypinentry index a9608d5..21b670d 100755 --- a/anypinentry +++ b/anypinentry @@ -38,8 +38,8 @@ show_error() { bash -c "$display_error_action" 2> /dev/null; } -cancelled_error() { echo "ERR 99 Operation cancelled "; } -com_error() { echo "ERR 99 Operation cancelled "; } +cancelled_error() { echo "ERR 83886179 Operation cancelled "; } +com_error() { echo "ERR 83886360 IP parameter error >"; } not_implemented_error() { echo "ERR 536870981 Not implemented "; } unknown_error() { echo "ERR 536871187 Unknown IPC command "; } -- cgit v1.3.1