Avoid syntax error when no arguments are passed

This commit is contained in:
Abhay Rana 2014-06-23 16:11:29 +05:30
parent cabc3d41b5
commit a5049d892b
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
if [ $1 == "-u" ]
if [ "$1" == "-u" ]
then
echo "Umount Media"
sudo umount /media/nemo/Media