projects
/
carnet-tools-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Ispravak za cp_mail: pokusava se pozvati sendmail wrapper cak i kad ne
[carnet-tools-cn.git]
/
functions.sh
diff --git
a/functions.sh
b/functions.sh
index
38cd05f
..
24c7cf9
100644
(file)
--- a/
functions.sh
+++ b/
functions.sh
@@
-337,9
+337,11
@@
is included below.
----------
${CP_NOTICE}----------"
-
- echo "$CP_NOTICE" | /usr/sbin/sendmail -t -oi &
- sleep 1
+
+ if [ -x /usr/sbin/sendmail ]; then
+ echo "$CP_NOTICE" | /usr/sbin/sendmail -t -oi &
+ sleep 1
+ fi
fi
}