You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.1-client/data/logout

15 lines
243 B

#! /bin/sh
if [ -e '/usr/bin/cl-sync' ];
then
/usr/bin/cl-sync --logout $USER
# при неудачном выполнении, сгенерируем ошибку
if [ "$?" -gt "0" ];
then
echo 'ERROR'
exit 1
fi
fi
exit 0