blob: 3a6dd521b4416bb63879feee5abd62ebb14fefaf [file] [log] [blame]
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <base/command_line.h>
#include <base/logging.h>
#include <chromeos/syslog_logging.h>
#include "trunks_dbus_client.h"
int main(int argc, char** argv) {
base::CommandLine::Init(argc, argv);
chromeos::InitLog(chromeos::kLogToSyslog | chromeos::kLogToStderr);
trunks::TrunksDbusClient client;
if (!client.Connect())
return 1;
client.Ping();
return 0;
}