blob: ac3f4910b925900f5ab48fe4f59cf400e33da7c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
Index: trunk/scripts/ocsng_fullsync.sh
===================================================================
--- ocsinventoryng/scripts/ocsng_fullsync.sh (revision 331)
+++ ocsinventoryng/scripts/ocsng_fullsync.sh (revision 332)
@@ -31,7 +31,7 @@
exit_if_soft_lock()
{
- if [ -f $GLPI_LOCK_DIR/ocsinventory.lock ]
+ if [ -f $GLPI_LOCK_DIR/ocsinventoryng.lock ]
then
echo "Software lock : script can't run !"
exit 1
Index: trunk/scripts/run.php
===================================================================
--- ocsinventoryng/scripts/run.php (revision 331)
+++ ocsinventoryng/scripts/run.php (revision 332)
@@ -70,7 +70,7 @@
function exit_if_soft_lock() {
- if (file_exists(GLPI_LOCK_DIR."/massocsimport.lock")) {
+ if (file_exists(GLPI_LOCK_DIR."/ocsinventoryng.lock")) {
echo "Software lock : script can't run !\n";
exit (1);
}
@@ -204,4 +204,4 @@
cleanup($pidfile);
fwrite ($log, date("r") . " " . $_SERVER["argv"][0] . " ended\n\n");
-?>
\ No newline at end of file
+?>
|