diff options
author | Martin Winter <mwinter@opensourcerouting.org> | 2017-11-29 10:05:46 +0100 |
---|---|---|
committer | Martin Winter <mwinter@opensourcerouting.org> | 2017-12-05 09:30:30 +0100 |
commit | 81f810f0f6ad2df4ce4860ba313b59e484e315df (patch) | |
tree | 96972bad2c124c31914f6a2e29f4022420a13d9e /debianpkg | |
parent | lib: Fix gcc 7 warning 'error: ‘fld’ may be used uninitialized in this fu... (diff) | |
download | frr-81f810f0f6ad2df4ce4860ba313b59e484e315df.tar.xz frr-81f810f0f6ad2df4ce4860ba313b59e484e315df.zip |
debianpkg: Fix lintian warning "command-with-path-in-maintainer-script"
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'debianpkg')
-rw-r--r-- | debianpkg/frr.preinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianpkg/frr.preinst b/debianpkg/frr.preinst index 29162e3b5..467bea971 100644 --- a/debianpkg/frr.preinst +++ b/debianpkg/frr.preinst @@ -30,7 +30,7 @@ fi # frr and as such we need to intelligently # check to see if the frr user is in the frrvty # group. -if ! /usr/bin/id frr | grep &>/dev/null 'frrvty'; then +if ! id frr | grep &>/dev/null 'frrvty'; then usermod -a -G frrvty frr >/dev/null fi |