Files

5 lines
270 B
JavaScript
Executable File

#!/usr/bin/node
// Stand-in `systemd-analyze --user unit-paths` (the test's): only the scratch unit dir.
if(process.argv[2]!=='--user'||process.argv[3]!=='unit-paths')process.exit(1);
console.log(require('node:path').join(process.env.XDG_CONFIG_HOME,'systemd','user'));