-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give friendly notification in swift-get-nodes
Hard coding of '/srv/node' maybe drive to some errors. But it seems unfixable (please see talks in bug report). To avoid erros as we can, showing a friendly notification to let user set their own device location works better than hard coding directly. Change-Id: I45d749dd52af8d3b051dfe98dbb9d71a5a374f97 Fixes: bug #907908
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit cb69dc8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the patch!
Perhaps you can put this in a conditional so that people who take action on the suggestion have the suggestion suppressed? This way if you do choose to export DEVICE=foo, it no longer suggests that you can do that.
eg:
if test -z "$DEVICE"
then
print "Use or own ..."
fi