summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-01-23 20:18:21 +0000
committerfjoe <fjoe@FreeBSD.org>2003-01-23 20:18:21 +0000
commitde0591cf0727b845429e1683e6dd5f20d8885ef4 (patch)
treea815182b026ffec67ca6293fe26f64df0dcdeccc /usr.sbin/adduser
parent9efcd9e534db8cc5f82315e826022a56a166d757 (diff)
downloadFreeBSD-src-de0591cf0727b845429e1683e6dd5f20d8885ef4.zip
FreeBSD-src-de0591cf0727b845429e1683e6dd5f20d8885ef4.tar.gz
expr foo -> $((foo))
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/rmuser.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/adduser/rmuser.sh b/usr.sbin/adduser/rmuser.sh
index 445b974..ee78dcb 100644
--- a/usr.sbin/adduser/rmuser.sh
+++ b/usr.sbin/adduser/rmuser.sh
@@ -95,7 +95,7 @@ kill_procs() {
proclist=`ps 2>/dev/null -U $login | grep -v '^\ *PID' | awk '{print $1}'`
for _pid in $proclist ; do
kill 2>/dev/null ${SIGKILL} $_pid
- killcount=`expr $killcount + 1`
+ killcount=$(($killcount + 1))
done
echo " ${SIGKILL} signal sent to $killcount processes."
}
@@ -112,7 +112,7 @@ rm_at_jobs() {
echo -n "Removing at(1) jobs owned by ($login):"
for _atjob in $atjoblist ; do
rm -f $_atjob
- jobcount=`expr $jobcount + 1`
+ jobcount=$(($jobcount + 1))
done
echo " $jobcount removed."
}
OpenPOWER on IntegriCloud