func handleVNCSnapshotOutput(dev *device.Device, line string) { dev.Debug("vncsnapshot: %s", line) found := screenshotRegexp.FindString(line) if len(found) == 0 { return } dev.LastScreenshot = found dev.Debug("updated screenshot: %s", found) }