Skip to content
Snippets Groups Projects
Commit 2fb9dea5 authored by samm2's avatar samm2
Browse files

fixed return code of freebsd_smart_device::close()

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2920 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent b47fd555
No related branches found
No related tags found
No related merge requests found
......@@ -582,8 +582,8 @@ bool freebsd_smart_device::close()
free(fdchan);
devicetable[fd]=NULL;
}
return failed;
if(failed) return false;
else return true;
}
/////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment