PackageInstaller: print strerror upon failure.
This commit is contained in:
@@ -220,7 +220,7 @@ PackageInstall::_Install()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (err != B_OK) {
|
if (err != B_OK) {
|
||||||
fprintf(stderr, "Error while writing path\n");
|
fprintf(stderr, "Error '%s' while writing path\n", strerror(err));
|
||||||
return P_MSG_I_ERROR;
|
return P_MSG_I_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user