Exit code 256
"Michiel Blotwijk" <[email protected]>
| Newsgroups | gmane.network.e-smith.devel |
|---|---|
| Message-ID | <000001c3a924$72ee1bf0$f7d0a8c0@hermelien> |
Hi,
If I delete a user account on SME6 using the below perl code, I get exit
code 256. The same perl code on SME 5.6 returns 0. In both cases the
account seems to be cleanly deleted. What am I doing wrong, or can I
simply ignore the first byte of the exit code?
#!/usr/bin/perl
use esmith::db;
my %conf;
tie %conf, 'esmith::config';
my %accounts;
tie %accounts, 'esmith::config', '/home/e-smith/accounts';
my $username="test";
db_delete(\%accounts, $username);
my $rc = system("/sbin/e-smith/signal-event", "user-delete", $username);
print $rc;
Regards,
Michiel
--
Please report bugs to [email protected]
Please mail [email protected] (only) to discuss security issues
Support for registered customers and partners to [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org