Skip to content

Commit f896f88

Browse files
author
MagnusSolution
authored
Merge pull request #695 from starlein/patch-1
Fix typo to remove dump in BackupCommand
2 parents 7e8cf04 + 7176b34 commit f896f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protected/commands/BackupCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public function run($args)
3434
LinuxAccess::exec($comando);
3535

3636
LinuxAccess::exec("tar czvf /usr/local/src/magnus/backup/backup_voip_softswitch.$data.tgz /tmp/base.sql /etc/asterisk");
37-
unlink("rm -f /tmp/base.sql");
37+
unlink("/tmp/base.sql");
3838
}
3939
}

0 commit comments

Comments
 (0)