/usr/sbin/automysqlbackup: line 427: [: too many arguments

Bug #1718887 reported by Vasya Pupkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
automysqlbackup (Debian)
Fix Released
Unknown
automysqlbackup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Every time a backup is made, script reports an error:

/usr/sbin/automysqlbackup: line 427: [: too many arguments

This leads to emails every day regarding backups even though they are created normally. Happens only when SEPDIR=no.

Please fix line 427:

- if [ $1 = "information_schema" ] ; then
+ if [ "$1" = "information_schema" ] ; then

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: automysqlbackup 2.6+debian.4-1
ProcVersionSignature: Ubuntu 4.4.0-96.119-generic 4.4.83
Uname: Linux 4.4.0-96-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Fri Sep 22 11:58:12 2017
InstallationDate: Installed on 2011-04-14 (2353 days ago)
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
PackageArchitecture: all
SourcePackage: automysqlbackup
UpgradeStatus: Upgraded to xenial on 2016-07-30 (418 days ago)
modified.conffile..etc.default.automysqlbackup: [modified]
mtime.conffile..etc.default.automysqlbackup: 2017-09-21T11:43:00.992263

Revision history for this message
Vasya Pupkin (shadowlmd) wrote :
Changed in automysqlbackup (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.