Changeset View
Changeset View
Standalone View
Standalone View
scripts/ssh/ssh-exec.php
Show First 20 Lines • Show All 301 Lines • ▼ Show 20 Lines | |||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
fwrite(STDERR, "phabricator-ssh-exec: ".$ex->getMessage()."\n"); | fwrite(STDERR, "phabricator-ssh-exec: ".$ex->getMessage()."\n"); | ||||
$err = 1; | $err = 1; | ||||
} | } | ||||
$ssh_log->setData( | $ssh_log->setData( | ||||
array( | array( | ||||
'c' => $err, | 'c' => $err, | ||||
'T' => (int)(1000000 * (microtime(true) - $ssh_start_time)), | 'T' => phutil_microseconds_since($ssh_start_time), | ||||
)); | )); | ||||
exit($err); | exit($err); |