Magellan Linux

Contents of /trunk/mage/patches/mage-0.4.104-busybox-museradd-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2477 - (show annotations) (download)
Fri Jul 4 09:45:44 2014 UTC (9 years, 9 months ago) by niro
File size: 494 byte(s)
-fix -l option
1 Index: mage/usr/lib/mage/museradd
2 ===================================================================
3 --- mage/usr/lib/mage/museradd (Revision 2643)
4 +++ mage/usr/lib/mage/museradd (Arbeitskopie)
5 @@ -32,6 +32,7 @@
6 -u) shift; [[ $1 -lt 100 ]] && FIXED_USER_OPTS+=" -S"; FIXED_USER_OPTS+=" -u $1" ;;
7 -r) FIXED_USER_OPTS+=" -S" ;;
8 -M) FIXED_USER_OPTS+=" -H" ;;
9 + -l) continue ;; # just ignore this switch, adduser does not support it
10 *) FIXED_USER_OPTS+=" $1" ;;
11 esac
12 shift