fixing smaller bugs

This commit is contained in:
2015-07-10 16:35:30 +03:00
parent 822987d9a5
commit 707aba6699

View File

@@ -155,7 +155,7 @@ function notesinsert {
PASSFILE=$2
# Create temporary file from $PASSFILE
sed -E "s/(.*)/User: $USER\nPass: \1\n/" $PASSFILE > .$PASSFILE.tmp
sed -E "s/(.*)/User: $USER\nPass: \1\n\n/" $PASSFILE > .$PASSFILE.tmp
# Insert this edited file into the datasheet
sed -i "/$TAIL/ {
@@ -165,9 +165,7 @@ function notesinsert {
N
}" $NOTES
#rm .$PASSFILE.tmp
# sed -i "/$TAIL/i User: $USER\nPass: $PASS\n" $NOTES
rm .$PASSFILE.tmp
}
## FIRST CHECKS