mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-02 07:02:29 +01:00
Fix: Duplicate confirmation
This commit is contained in:
@@ -90,7 +90,7 @@ if (! isset($argv[1])) {
|
||||
print "Usage: $script_file (nocommitiferror|commitiferror) [ldapserverhost]\n";
|
||||
exit(-1);
|
||||
}
|
||||
$groupid=$argv[3];
|
||||
|
||||
if ($argv[1] == 'commitiferror') $forcecommit=1;
|
||||
|
||||
|
||||
@@ -114,8 +114,7 @@ print "----- Options:\n";
|
||||
print "commitiferror=".$forcecommit."\n";
|
||||
print "Mapped LDAP fields=".join(',',$required_fields)."\n";
|
||||
print "\n";
|
||||
print "Press a key to confirm...";
|
||||
$input = trim(fgets(STDIN));
|
||||
|
||||
print "Hit Enter to continue or CTRL+C to stop...\n";
|
||||
$input = trim(fgets(STDIN));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user