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

Commit eefb10f

Browse files
committed
chore: use isDaemonOn to see if the daemon is on
1 parent 7314f0d commit eefb10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/commands/config/profile/apply.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
if (res) {
2525
argv.print(res)
2626

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

0 commit comments

Comments
 (0)