orin_dance.gif
git-svn-id: file:///srv/svn/repo/rin/trunk@7 5f6c6692-7da8-c640-9b4f-fb22b0af4e5b
This commit is contained in:
parent
e2bfef6aab
commit
af5b06b5fc
16
rin-check
16
rin-check
@ -1,8 +1,16 @@
|
||||
#!/bin/sh
|
||||
# $YakumoLabs$
|
||||
echo "Checking if there is any mail..."
|
||||
env fdm -a "$@" poll
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Sorry, I couldn't..."
|
||||
|
||||
if [ "$1" = "" ]; then
|
||||
echo "No account specified"
|
||||
echo ""
|
||||
echo "usage: $0 account"
|
||||
exit 1
|
||||
else
|
||||
echo "Checking if there is any mail..."
|
||||
env fdm -a "$@" poll
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Sorry, I couldn't..."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user