Changed "User cancel" message to "Exiting" because it can happen in situations other than a user action.
Fixes #319 investigate "User cancel error"
This commit is contained in:
@ -518,7 +518,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
result = hackrf_is_streaming(device);
|
||||
if (do_exit) {
|
||||
fprintf(stderr, "\nUser cancel, exiting...\n");
|
||||
fprintf(stderr, "\nExiting...\n");
|
||||
} else {
|
||||
fprintf(stderr, "\nExiting... hackrf_is_streaming() result: %s (%d)\n",
|
||||
hackrf_error_name(result), result);
|
||||
|
@ -1091,7 +1091,7 @@ int main(int argc, char** argv) {
|
||||
result = hackrf_is_streaming(device);
|
||||
if (do_exit)
|
||||
{
|
||||
fprintf(stderr, "\nUser cancel, exiting...\n");
|
||||
fprintf(stderr, "\nExiting...\n");
|
||||
} else {
|
||||
fprintf(stderr, "\nExiting... hackrf_is_streaming() result: %s (%d)\n", hackrf_error_name(result), result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user