* Moved no editor warning to edit function
* Added message in create_sns_root showing SNS's environment was actually initialized * Changed flag to create SNS's environment from -w to -i
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
function edit(){
|
||||
if [ ! -r "$NOTE" ]; then
|
||||
if [ -z "$EDITOR" ]; then
|
||||
>&2 echo "Error no editor specified in environment."
|
||||
exit
|
||||
elif [ ! -r "$NOTE" ]; then
|
||||
echo "ERROR: Note cannot be opened for editing."
|
||||
exit 40;
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user