Index: drive_login.cc |
diff --git a/drive_login.cc b/drive_login.cc |
index 4e415812a5e29a627d48b6e0f9e9a4ba94a14e73..8c866fa8183174868d83967f02999c5cb5682b3e 100644 |
--- a/drive_login.cc |
+++ b/drive_login.cc |
@@ -101,7 +101,17 @@ int main(int argc, const char** argv) { |
if (chromeos::SetOwnerKey(key)) |
LOG(INFO) << "Sent key!"; |
else |
- LOG(FATAL) << "Setting key failed."; |
+ LOG(ERROR) << "Setting key failed."; |
+ |
+ if (chromeos::Whitelist("cmasone@gmail.com", key)) |
+ LOG(INFO) << "Attempted to whitelist"; |
+ else |
+ LOG(INFO) << "Could not attempt to whitelist."; |
+ |
+ if (chromeos::CheckWhitelist("cmasone@gmail.com", &key)) |
+ LOG(INFO) << "On the whitelist"; |
+ else |
+ LOG(INFO) << "Not on the whitelist."; |
::g_main_loop_run(loop); |