diff options
author | Herb Lewis <herb@samba.org> | 2000-10-11 16:27:47 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2000-10-11 16:27:47 +0000 |
commit | ec4e922818013178029bc47e15efa6c6093bc4f6 (patch) | |
tree | 157f2cf97d80bd6c4a4915aaaaad9e3d7ade67a2 | |
parent | 8af853ac00b38aa4cb75f6d81d7ed6fdbef170f3 (diff) | |
download | samba-ec4e922818013178029bc47e15efa6c6093bc4f6.tar.gz samba-ec4e922818013178029bc47e15efa6c6093bc4f6.tar.xz samba-ec4e922818013178029bc47e15efa6c6093bc4f6.zip |
couple more typos
-rwxr-xr-x | packaging/SGI/inst.msg | 2 | ||||
-rwxr-xr-x | packaging/SGI/removeswat.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/SGI/inst.msg b/packaging/SGI/inst.msg index 248e990c4a5..4d8bab389cb 100755 --- a/packaging/SGI/inst.msg +++ b/packaging/SGI/inst.msg @@ -12,7 +12,7 @@ echo echo http://`hostname`:901 echo echo The original versions of /etc/services and -echo /etc/inetd.conf were saved echo with a .O extension. +echo /etc/inetd.conf were saved with a .O extension. echo echo If you do not wish SWAT to be enabled you may echo run the script /usr/samba/scripts/removeswat.sh diff --git a/packaging/SGI/removeswat.sh b/packaging/SGI/removeswat.sh index e4792786625..7a4745345be 100755 --- a/packaging/SGI/removeswat.sh +++ b/packaging/SGI/removeswat.sh @@ -4,7 +4,7 @@ # cp /etc/inetd.conf /etc/inetd.conf.O -if [ $? ]; then exit 1; fi +if [ $? -ne 0 ]; then exit 1; fi if [ ! -r /etc/inetd.conf.O -o ! -w /etc/inetd.conf ]; then exit 1; fi sed -e "/^swat/D" -e "/^#SWAT/D" /etc/inetd.conf.O > /etc/inetd.conf @@ -14,7 +14,7 @@ sed -e "/^swat/D" -e "/^#SWAT/D" /etc/inetd.conf.O > /etc/inetd.conf # cp /etc/services /etc/services.O -if [ $? ]; then exit 1; fi +if [ $? -ne 0 ]; then exit 1; fi if [ ! -r /etc/services.O -o ! -w /etc/services ]; then exit 1; fi sed -e "/^swat/D" -e "/^#SWAT/D" /etc/services.O > /etc/services |