From eefb10fc9a0c084d105642ead30079a9924b3233 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Mon, 7 Oct 2019 10:53:11 +0100 Subject: [PATCH] chore: use isDaemonOn to see if the daemon is on --- src/cli/commands/config/profile/apply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/config/profile/apply.js b/src/cli/commands/config/profile/apply.js index 8bd11a028f..c77e99706a 100644 --- a/src/cli/commands/config/profile/apply.js +++ b/src/cli/commands/config/profile/apply.js @@ -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 {