Skip to content
Snippets Groups Projects
Commit ab01a58a authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove superfluous condition

parent ac88aebf
No related branches found
No related tags found
No related merge requests found
......@@ -292,9 +292,7 @@ function backup_blocklist {
if [ ! -d $temp_backup_dir ]; then
mkdir -p $temp_backup_dir
fi
if [ -f /root/${PROJECT_NAME}-firewall-domains.cfg ]; then
cp -f /root/${PROJECT_NAME}-firewall-domains.cfg $temp_backup_dir
fi
cp -f /root/${PROJECT_NAME}-firewall-domains.cfg $temp_backup_dir
backup_directory_to_usb $temp_backup_dir blocklist
rm -rf $temp_backup_dir
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment