addHost.php output improvements/fixes

This commit is contained in:
Tony Murray
2016-08-03 15:16:30 -05:00
parent 231bb52ed1
commit 52d31369f0

View File

@@ -169,7 +169,7 @@ if (!empty($argv[1])) {
if (is_numeric($result)) {
$device = device_by_id_cache($result);
echo 'Added device '.$device['hostname'].' ('.$device_id.")\n";
echo 'Added device '.$device['hostname'].' ('.$result.")\n";
exit(0);
}
else {