aboutsummaryrefslogtreecommitdiffstats
path: root/add-shell
diff options
context:
space:
mode:
Diffstat (limited to 'add-shell')
-rwxr-xr-xadd-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-shell b/add-shell
index a7b8fa0..4f4788e 100755
--- a/add-shell
+++ b/add-shell
@@ -23,7 +23,7 @@ CFG_FILE=/etc/shells
# Create $CFG_FILE if needed
if [ ! -f $CFG_FILE ]; then
- > $CFG_FILE
+ true > $CFG_FILE
fi
if ! grep -q "^$shl$" $CFG_FILE; then