Skip to content

Commit

Permalink
Minor fixes for Linux (#120)
Browse files Browse the repository at this point in the history
Adds system.firmware source, so device resolver doesn't return 'null' on
Linux platform.

Typo fix for critical update resolver.
  • Loading branch information
erichs authored and rmcvey committed Mar 4, 2019
1 parent 340bc7e commit 1c3da97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resolvers/platform/LinuxSecurity.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {

async automaticUpdates (root, args, { kmdResponse }) {
if (kmdResponse.updates) {
return updates.criticalUpdateInstall === "1"
return kmdResponse.updates.criticalUpdateInstall === "1"
}
return UNKNOWN
},
Expand Down
3 changes: 3 additions & 0 deletions sources/linux/firmwareVersion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env kmd
echo Unavailable
save system.firmwareVersion

0 comments on commit 1c3da97

Please sign in to comment.