diff --git a/root/etc/e-smith/events/actions/doraemon-wake b/root/etc/e-smith/events/actions/doraemon-wake index 88b45fc..e6eae53 100755 --- a/root/etc/e-smith/events/actions/doraemon-wake +++ b/root/etc/e-smith/events/actions/doraemon-wake @@ -26,7 +26,7 @@ sub wake_host # Wake up the host #------------------------------------------------------------ - my $h = $db_hosts->get($hostName) or die "No host record for $hostName"; + my @h = $db_hosts->get($hostName) or die "No host record for $hostName"; my $client = $h[0]; my $mac = $client->prop('MacAddress'); system("/sbin/ether-wake -b -i lan0 $mac") == 0