mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 02:45:13 +08:00
🌴 Sync 2026-03-18 23:56:09
This commit is contained in:
1 parent
79996b4e00
commit
94f2e1059b
9 files changed
+21
-11
No files matched your search
@@ -78,7 +78,7 @@ export function get_cgroups() {
|
||||
|
||||
export function load_profile() {
|
||||
let result = {};
|
||||
const process = popen('yq -M -p yaml -o json /etc/nikki/run/config.yaml');
|
||||
const process = popen('yq -M -p yaml -o json /etc/nikki/run/config.yaml 2>/dev/null');
|
||||
if (process) {
|
||||
result = json(process);
|
||||
process.close();
|
||||
|
||||
Reference in new issue
Block a user