dépôts
/
lhc
/
ateliers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c168783
)
Correction : condition finale de boucle while.
author
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Feb 2013 15:19:25 +0000
(16:19 +0100)
committer
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Feb 2013 16:10:06 +0000
(17:10 +0100)
vm_hosted
patch
|
blob
|
history
diff --git
a/vm_hosted
b/vm_hosted
index
6e7a847
..
b211063
100755
(executable)
--- a/
vm_hosted
+++ b/
vm_hosted
@@
-219,7
+219,7
@@
rule__user_root_init () {
mk_lnk etc/gpg /root/.gnupg
mk_lnk etc/ssh /root/.ssh
getent group sudo |
- while IFS=: read -r group x x users
+ while
test -n "$users" &&
IFS=: read -r group x x users
do while IFS=, read -r user users <<-EOF
$users
EOF
@@
-278,7
+278,7
@@
rule__initramfs_init () {
/etc/initramfs-tools/root/.ssh
getent group sudo |
while IFS=: read -r group x x users
- do while IFS=, read -r user users <<-EOF
+ do while
test -n "$users" &&
IFS=, read -r user users <<-EOF
$users
EOF
do eval local home\; home="~$user"