Skip to content

Commit

Permalink
Whoops!
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information
rwaldron committed Mar 17, 2016
1 parent 2033e53 commit 5512a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = function(binary) {

install = cp.spawnSync('opkg', ['install', binary]);

if (install.status === 1) {
if (install.status === 0) {
console.log('Completed.');

cp.execSync(`echo 'export ${env}=1' >> ${profile}; source ${profile}`);
Expand Down

0 comments on commit 5512a31

Please # to comment.