mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-10 12:51:34 +00:00
noux: fix condition for mtime update
This is a follow-up patch for "noux: don't update mtimes for read-only files". It eliminates warning messages during Sculpt's prepare step when 'cp' tries to update the mtimes of the source files.
This commit is contained in:
parent
077fa355ce
commit
573b6d3345
@ -88,7 +88,7 @@ struct Noux::Vfs_io_channel : Io_channel
|
||||
Registered_no_delete<Vfs_io_waiter>
|
||||
vfs_io_waiter(_vfs_io_waiter_registry);
|
||||
|
||||
if (_fh.status_flags() != Sysio::OPEN_MODE_RDONLY) {
|
||||
if ((_fh.status_flags() & Sysio::OPEN_MODE_ACCMODE) != Sysio::OPEN_MODE_RDONLY) {
|
||||
for (;;) {
|
||||
if (_fh.fs().update_modification_timestamp(&_fh, ts)) {
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user