diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-28 17:29:27 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-28 17:29:27 +0000 |
commit | ef5b63b4b055c9525320e07a768885e2975fba71 (patch) | |
tree | 3857c4863f901a1e0f4bf8837e0ee720c28a9384 | |
parent | ce2e2e8f241de6b51f9597cbc16892184630d75b (diff) | |
download | transfugdrake-ef5b63b4b055c9525320e07a768885e2975fba71.tar transfugdrake-ef5b63b4b055c9525320e07a768885e2975fba71.tar.gz transfugdrake-ef5b63b4b055c9525320e07a768885e2975fba71.tar.bz2 transfugdrake-ef5b63b4b055c9525320e07a768885e2975fba71.tar.xz transfugdrake-ef5b63b4b055c9525320e07a768885e2975fba71.zip |
do not try to list windows users if no windows disk is detected
-rwxr-xr-x | transfugdrake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/transfugdrake b/transfugdrake index 4d8e423..055e5ee 100755 --- a/transfugdrake +++ b/transfugdrake @@ -14,7 +14,8 @@ use transfugdrake; my %distrib = distrib(); my $windows_disk = transfugdrake::get_windows_disk(); my @linux_users = list_users(); -my @windows_users = transfugdrake::list_windows_users($windows_disk); +my @windows_users; +@windows_users = transfugdrake::list_windows_users($windows_disk) if $windows_disk; my @windows_items; my $linux_user; |