PackageWriterImpl: improve error output.
This commit is contained in:
@@ -655,7 +655,8 @@ PackageWriterImpl::_CheckLicenses()
|
|||||||
= systemLicensePath.SetTo(HAIKU_BUILD_SYSTEM_DATA_DIRECTORY);
|
= systemLicensePath.SetTo(HAIKU_BUILD_SYSTEM_DATA_DIRECTORY);
|
||||||
#endif
|
#endif
|
||||||
if (result != B_OK) {
|
if (result != B_OK) {
|
||||||
fListener->PrintError("unable to find system data path!\n");
|
fListener->PrintError("unable to find system data path: %s!\n",
|
||||||
|
strerror(result));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
if ((result = systemLicensePath.Append("licenses")) != B_OK) {
|
if ((result = systemLicensePath.Append("licenses")) != B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user