Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: use isDaemonOn to see if the daemon is on
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 7, 2019
1 parent 7314f0d commit eefb10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/config/profile/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
if (res) {
argv.print(res)

if (ipfs.send) {
if (argv.isDaemonOn()) {
argv.print('\nThe IPFS daemon is running in the background, you may need to restart it for changes to take effect.')
}
} else {
Expand Down

0 comments on commit eefb10f

Please sign in to comment.