Skip to content

Commit

Permalink
permission denied problem fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhbir-singh committed Jul 6, 2018
1 parent 26aa787 commit a59ef5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smart_statuses/smart_test_util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def stats

def fetch_status(device)
return nil if device.blank?
status = `/var/hda/apps/0gjocmmq4k/elevated/smart-details #{device[5..-1]}`
status = `sudo /var/hda/apps/0gjocmmq4k/elevated/smart-details #{device[5..-1]}`
read_streamed_smart_status(status)
end

Expand Down

0 comments on commit a59ef5d

Please sign in to comment.