canonical / ubuntu-frame

The foundation for many embedded graphical display implementations
GNU General Public License v3.0
156 stars 21 forks source link

Separate paths for relative and absolute diagnostic path #100

Closed graysonguarino closed 2 years ago

graysonguarino commented 2 years ago

Fixes both #93 and #94 by clearly separating the codepaths for absolute and relative path checks on --diagnostic-path. The absolute code path is triggered if the path starts with a /. Otherwise, it assumes a relative path was provided.

AlanGriffiths commented 2 years ago

As you have been told multiple times there is no reason to handle absolute and relative paths differently