HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: //usr/local/libexec/task_remove/HyperBackupTaskRemove.sh
#!/bin/sh

if [ -f "/var/packages/HyperBackup/enabled" ]; then
	# check if share is source with encryption
	/var/packages/HyperBackup/target/bin/hook/BackupTaskRemove ${1} 2>&1
	if [ $? -eq 1 ]; then
		exit 1
	else
		exit 0
	fi
fi

exit 0