Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fscommon.WriteFile: simplify error message
As the underlying error message from iotuils.WriteFile already contains file name, there's no need to put it, otherwise we end up with something like: failed to write "val" to "/sys/fs/cgroup/.../file": open /sys/fs/cgroup/.../file: permission denied With this patch, the error will be failed to write "val": open /sys/fs/cgroup/.../file: permission denied Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information