diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-03-01 16:39:08 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-03-01 16:39:08 -0800 |
commit | da26a3e34ece4a68ddc3542644308c406a162683 (patch) | |
tree | c390929a21b8ccaeb4d79dc75b59a57c300c2865 /host/examples/sync_to_gps.cpp | |
parent | 79a797d5b376fbfa51ffcd42d57956e83b4903c9 (diff) | |
parent | 5ca309a86e8d99f3431bfd0116579e7d57bf64a7 (diff) | |
download | uhd-da26a3e34ece4a68ddc3542644308c406a162683.tar.gz uhd-da26a3e34ece4a68ddc3542644308c406a162683.tar.bz2 uhd-da26a3e34ece4a68ddc3542644308c406a162683.zip |
Merge branch 'maint'
Diffstat (limited to 'host/examples/sync_to_gps.cpp')
-rw-r--r-- | host/examples/sync_to_gps.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/examples/sync_to_gps.cpp b/host/examples/sync_to_gps.cpp index f27c3eff5..3a9b5c7e4 100644 --- a/host/examples/sync_to_gps.cpp +++ b/host/examples/sync_to_gps.cpp @@ -99,7 +99,8 @@ int UHD_SAFE_MAIN(int argc, char *argv[]) std::cout << "LOCKED" << std::endl; } else { std::cout << "FAILED" << std::endl; - throw uhd::runtime_error("Failed to lock to GPSDO 10 MHz Reference"); + std::cout << "Failed to lock to GPSDO 10 MHz Reference. Exiting." << std::endl; + exit(EXIT_FAILURE); } } else |