Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 620092
Collapse All | Expand All

(-)./src/core/manager.c.orig (-1 / +1 lines)
Lines 1498-1504 Link Here
1498
        if (path && !is_path(path))
1498
        if (path && !is_path(path))
1499
                return sd_bus_error_setf(e, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not absolute.", path);
1499
                return sd_bus_error_setf(e, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not absolute.", path);
1500
1500
1501
        if (!name)
1501
        if (!name && path)
1502
                name = basename(path);
1502
                name = basename(path);
1503
1503
1504
        t = unit_name_to_type(name);
1504
        t = unit_name_to_type(name);
(-)./src/shared/install.c.orig (-1 / +1 lines)
Lines 1003-1009 Link Here
1003
        assert(c);
1003
        assert(c);
1004
        assert(name || path);
1004
        assert(name || path);
1005
1005
1006
        if (!name)
1006
        if (!name && path)
1007
                name = basename(path);
1007
                name = basename(path);
1008
1008
1009
        if (!unit_name_is_valid(name, UNIT_NAME_ANY))
1009
        if (!unit_name_is_valid(name, UNIT_NAME_ANY))

Return to bug 620092