We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 034b2cf + 170bd64 commit e106feeCopy full SHA for e106fee
bin/v-backup-user
@@ -434,7 +434,7 @@ if [ "$USER" != '*' ]; then
434
set -f
435
i=0
436
437
- for udir in $(ls -a |egrep -v "conf|web|dns|mail|^\.\.$|^\.$"); do
+ for udir in $(ls -a |egrep -v "^conf$|^web$|^dns$|^mail$|^\.\.$|^\.$"); do
438
exclusion=$(echo "$USER" |tr ',' '\n' |grep "^$udir$")
439
if [ -z "$exclusion" ]; then
440
((i ++))
0 commit comments