wok-next view ovz-web-panel/stuff/hardware_server.rb.u @ rev 18045
Add yad-html, write "provide" variables for yad-html, yad-gtk3.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 13 12:14:40 2015 +0300 (2015-05-13) |
parents | |
children |
line source
1 --- ovz-web-panel-ori/app/models/hardware_server.rb Fri Nov 19 18:54:08 2010
2 +++ ovz-web-panel/app/models/hardware_server.rb Fri Dec 31 23:59:40 2010
3 @@ -174,7 +174,7 @@
4 end
6 def sync_backups
7 - backups_list = rpc_client.exec('ls', "--block-size=M -s #{backups_dir}")['output']
8 + backups_list = rpc_client.exec('ls', "-h -s #{backups_dir}")['output']
9 backups_list = backups_list.split("\n")
10 # remove totals line
11 backups_list.shift