Skip to content

Commit

Permalink
OR-2490 Correct redirection using sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddolcimascolo committed Dec 15, 2016
1 parent 099d8c3 commit 70fe70e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/common/openpaas-james/openpaas-james.preinst
@@ -1,3 +1,3 @@
#! /bin/sh -e

id -u openpaas &> /dev/null || useradd --system --user-group --no-create-home openpaas
id -u openpaas > /dev/null 2>&1 || useradd --system --user-group --no-create-home openpaas
2 changes: 1 addition & 1 deletion packaging/common/openpaas/openpaas.preinst
@@ -1,3 +1,3 @@
#! /bin/sh -e

id -u openpaas &> /dev/null || useradd --system --user-group --no-create-home openpaas
id -u openpaas > /dev/null 2>&1 || useradd --system --user-group --no-create-home openpaas

0 comments on commit 70fe70e

Please sign in to comment.