Changeset 3f05ef7 in mainline for uspace/srv/sysman/units/unit_mnt.c


Ignore:
Timestamp:
2019-08-06T19:23:02Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
dba056b
Parents:
63a3276
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-06-20 00:57:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 19:23:02)
Message:

sysman: Catch debug log output to file (temporary version)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/units/unit_mnt.c

    r63a3276 r3f05ef7  
    234234        assert(unit->state == STATE_STOPPED || unit->state == STATE_STARTING);
    235235
     236        if (str_cmp(unit_name(unit), "rootfs.mnt") == 0) {
     237                sysman_log_tofile();
     238        }
    236239        unit->state = STATE_STARTED;
    237240        unit_notify_state(unit);
Note: See TracChangeset for help on using the changeset viewer.