Skip to content

Commit

Permalink
fix(api): fixed release for Arch Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
arghyadipchak committed Jun 12, 2022
1 parent c22ce86 commit 168c759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/api/src/static-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ const loadOsInfo = async (): Promise<void> => {
distro: info.distro,
kernel: info.kernel,
platform: info.platform,
release: info.release,
release:
info.release === 'unknown' ? info.build || 'unknown' : info.release,
uptime: 0,
};
};
Expand Down

0 comments on commit 168c759

Please sign in to comment.