clean up commandline delhost output

git-svn-id: http://www.observium.org/svn/observer/trunk@1248 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-23 14:49:08 +00:00
parent dffd147479
commit f341e1c472
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ if($argv[1]) {
$host = strtolower($argv[1]);
$id = getidbyname($host);
if($id) {
delete_device($id);
echo delete_device($id);
echo("Removed $host\n");
} else {
echo("Host doesn't exist!\n");