projects
/
php-bacula-disk-changer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
832062e
)
hey, we have a working fooker...
author
paulr
<me@pjr.cc>
Mon, 12 Jul 2010 04:01:07 +0000 (14:01 +1000)
committer
paulr
<me@pjr.cc>
Mon, 12 Jul 2010 04:01:07 +0000 (14:01 +1000)
bin/pbdc-bacula.php
patch
|
blob
|
history
diff --git
a/bin/pbdc-bacula.php
b/bin/pbdc-bacula.php
index
c86a4bc
..
b136d05
100644
(file)
--- a/
bin/pbdc-bacula.php
+++ b/
bin/pbdc-bacula.php
@@
-156,9
+156,9
@@
function list_tapes()
}
$tn = "$amloc/".$dn."/pbdc/".$argv[1]."/tapes/$tapename";
if(file_exists($tn)) {
- echo "slot $sn: $tapename\n";
+ echo "$sn:$tapename\n";
} else {
- echo "slot $sn:\n";
+ echo "$sn:\n";
}
}
@@
-178,7
+178,8
@@
function num_slots()
$mslot = $row[0];
}
- return $mslot;
+ echo "$mslot\n";
+ return;
// $amloc = conf_getVal($changer, "automountdir");