// || ➔ &&
This commit is contained in:
@@ -155,7 +155,7 @@ alias nas-unmount-2="sudo umount /mnt/nas"
|
||||
|
||||
nas() {
|
||||
|
||||
if [ -f $1 ] || [ -f $2 ] ; then
|
||||
if [ -f $1 ] && [ -f $2 ] ; then
|
||||
|
||||
if [ $1 == "mount" ] ; then
|
||||
echo "mount /mnt/nas"
|
||||
|
||||
Reference in New Issue
Block a user