wok-stable diff ovz-web-panel/stuff/hardware_server.rb.u @ rev 11903
Up: tazpkg (4.8) - New tazpkg-box for desktop integration and fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 29 20:30:40 2012 +0100 (2012-02-29) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ovz-web-panel/stuff/hardware_server.rb.u Wed Feb 29 20:30:40 2012 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +--- ovz-web-panel-ori/app/models/hardware_server.rb Fri Nov 19 18:54:08 2010 1.5 ++++ ovz-web-panel/app/models/hardware_server.rb Fri Dec 31 23:59:40 2010 1.6 +@@ -174,7 +174,7 @@ 1.7 + end 1.8 + 1.9 + def sync_backups 1.10 +- backups_list = rpc_client.exec('ls', "--block-size=M -s #{backups_dir}")['output'] 1.11 ++ backups_list = rpc_client.exec('ls', "-h -s #{backups_dir}")['output'] 1.12 + backups_list = backups_list.split("\n") 1.13 + # remove totals line 1.14 + backups_list.shift