Changeset 21a65cca in mainline


Ignore:
Timestamp:
2023-12-19T15:51:16Z (11 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, topic/simplify-dev-export
Children:
82d3c28
Parents:
2b4e02b
Message:

Taskbar-cfg should create configuration file if it does not exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskbar-cfg/taskbar-cfg.c

    r2b4e02b r21a65cca  
    171171        rc = tbarcfg_open(cfg_repo, &tbcfg->tbarcfg);
    172172        if (rc != EOK) {
    173                 printf("Error opening Taskbar configuration.\n");
    174                 goto error;
     173                rc = tbarcfg_create(cfg_repo, &tbcfg->tbarcfg);
     174                if (rc != EOK) {
     175                        printf("Error opening Taskbar configuration.\n");
     176                        goto error;
     177                }
    175178        }
    176179
Note: See TracChangeset for help on using the changeset viewer.