diff --git a/edl b/edl index 0d69e75..9f8018e 100755 --- a/edl +++ b/edl @@ -343,6 +343,9 @@ class main(metaclass=LogBase): print("Error on sahara handshake, resetting.") self.sahara.cmd_reset() sys.exit(1) + else: + if self.__logger.level != logging.DEBUG: + self.__logger.setLevel(logging.ERROR) if mode == "error": print("Connection detected, quiting.") sys.exit(1) diff --git a/test_script.sh b/test_script.sh new file mode 100755 index 0000000..e2e384d --- /dev/null +++ b/test_script.sh @@ -0,0 +1,3 @@ +./edl w xbl_a /home/bongb/agnos/xbl.img +./edl w xbl_a /home/bongb/agnos/xbl.img +./edl reset \ No newline at end of file