mirror of
				https://github.com/vvzvlad/vestasync.git
				synced 2025-10-31 05:27:52 +03:00 
			
		
		
		
	remove errors in log
This commit is contained in:
		| @ -188,11 +188,11 @@ def create_autogit_systemd(c): | ||||
|  | ||||
| def mark_original_restored(c, mark): | ||||
|     if mark == "original": | ||||
|         c.run("rm /mnt/data/etc/vestasync/restored", warn=True) | ||||
|         c.run("touch /mnt/data/etc/vestasync/original", warn=True) | ||||
|         c.run("rm /mnt/data/etc/vestasync/restored", warn=True, hide=True) | ||||
|         c.run("touch /mnt/data/etc/vestasync/original", warn=True, hide=True) | ||||
|     if mark == "restored": | ||||
|         c.run("touch /mnt/data/etc/vestasync/restored", warn=True) | ||||
|         c.run("rm /mnt/data/etc/vestasync/original", warn=True) | ||||
|         c.run("touch /mnt/data/etc/vestasync/restored", warn=True, hide=True) | ||||
|         c.run("rm /mnt/data/etc/vestasync/original", warn=True, hide=True) | ||||
|  | ||||
| def reboot(c): | ||||
|     c.run("reboot > /dev/null 2>&1", warn=True) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user